gallium/drivers: Add extern "C" wrappers to public entry
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
#ifndef LP_PUBLIC_H
|
||||
#define LP_PUBLIC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct pipe_screen;
|
||||
struct sw_winsys;
|
||||
|
||||
struct pipe_screen *
|
||||
llvmpipe_create_screen(struct sw_winsys *winsys);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -28,6 +28,10 @@
|
||||
#ifndef RBUG_PUBLIC_H
|
||||
#define RBUG_PUBLIC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct pipe_screen;
|
||||
struct pipe_context;
|
||||
|
||||
@@ -37,4 +41,8 @@ rbug_screen_create(struct pipe_screen *screen);
|
||||
boolean
|
||||
rbug_enabled(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* RBUG_PUBLIC_H */
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
#ifndef SP_PUBLIC_H
|
||||
#define SP_PUBLIC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct pipe_screen;
|
||||
struct sw_winsys;
|
||||
|
||||
struct pipe_screen *
|
||||
softpipe_create_screen(struct sw_winsys *winsys);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user