X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fsoftpipe%2Fsp_public.h;h=88a9b5e6643295a781ce81be377b8c13720678d8;hb=d70f96fd674cfb5a1aeedce179c2cc02c38a9fad;hp=62d0903d87a3bdfcf604dc4df1eefde306ed0e78;hpb=64644ec3b21884d4a974fa29087fa98c4ed9e112;p=mesa.git diff --git a/src/gallium/drivers/softpipe/sp_public.h b/src/gallium/drivers/softpipe/sp_public.h index 62d0903d87a..88a9b5e6643 100644 --- a/src/gallium/drivers/softpipe/sp_public.h +++ b/src/gallium/drivers/softpipe/sp_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