aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/driver_ddebug
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2018-07-27 20:09:37 +0000
committerAlexander von Gluck IV <[email protected]>2018-07-27 16:19:12 -0500
commitda8de6b757db29e440ec086a8dc8855c5d121eae (patch)
tree46ea51fe0e784f489e26783f23e87613048b916e /src/gallium/auxiliary/driver_ddebug
parent5fe943aaee50bc243890317416ba27d084a75d51 (diff)
gallium/auxiliary: Extern "c" fixes.
Used by C++ code such as Haiku's renderer. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/driver_ddebug')
-rw-r--r--src/gallium/auxiliary/driver_ddebug/dd_public.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/driver_ddebug/dd_public.h b/src/gallium/auxiliary/driver_ddebug/dd_public.h
index e6607655753..31c139d6a17 100644
--- a/src/gallium/auxiliary/driver_ddebug/dd_public.h
+++ b/src/gallium/auxiliary/driver_ddebug/dd_public.h
@@ -30,7 +30,15 @@
struct pipe_screen;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pipe_screen *
ddebug_screen_create(struct pipe_screen *screen);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* DD_PUBLIC_H_ */