gallium/aux: Add needed extern "C" wrappers
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Thu, 14 May 2015 22:19:44 +0000 (17:19 -0500)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Fri, 15 May 2015 17:55:59 +0000 (13:55 -0400)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/postprocess/postprocess.h
src/gallium/auxiliary/util/u_tests.h

index c72f2c4b4078f87802a593974db6974871a7680f..9b9f981a5ff6be35254c19b888b8698a5a43f0f7 100644 (file)
 
 #include "pipe/p_state.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct cso_context;
 
 struct pp_queue_t;              /* Forward definition */
@@ -85,4 +89,9 @@ void pp_celshade_free(struct pp_queue_t *, unsigned int);
 void pp_nocolor_free(struct pp_queue_t *, unsigned int);
 void pp_jimenezmlaa_free(struct pp_queue_t *, unsigned int);
 
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif
index 49ae54f876bc91d76fbe799b5a9400cb9a02203f..106b0a0a9386f8f15164b7182081aa6d6d42ca0f 100644 (file)
 
 #include "pipe/p_compiler.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct pipe_screen;
 
 void util_run_tests(struct pipe_screen *screen);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif