diff options
author | Alexander von Gluck IV <[email protected]> | 2015-05-14 17:20:17 -0500 |
---|---|---|
committer | Alexander von Gluck IV <[email protected]> | 2015-05-15 13:55:59 -0400 |
commit | 624b38add99c21e2deb2029b157e92c3f0e7cdd4 (patch) | |
tree | 2ddc711e76ed76e5405170b8c086a733e85fa503 /src/gallium/drivers/llvmpipe/lp_public.h | |
parent | 40a8b2f92a8aef25199324046114023c4ed3d772 (diff) |
gallium/drivers: Add extern "C" wrappers to public entry
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_public.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_public.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_public.h b/src/gallium/drivers/llvmpipe/lp_public.h index ec6b660b48e..27ab1baefbb 100644 --- a/src/gallium/drivers/llvmpipe/lp_public.h +++ b/src/gallium/drivers/llvmpipe/lp_public.h @@ -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 |