[Mesa-dev] [PATCH 06/18] intel/common/gen_decoder: make useable from C++ source
kevin.rogovin at intel.com
kevin.rogovin at intel.com
Mon Nov 13 13:17:54 UTC 2017
From: Kevin Rogovin <kevin.rogovin at intel.com>
Signed-off-by: Kevin Rogovin <kevin.rogovin at intel.com>
---
src/intel/common/gen_decoder.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h
index 8b00b6edc2..e3b2457dfd 100644
--- a/src/intel/common/gen_decoder.h
+++ b/src/intel/common/gen_decoder.h
@@ -34,6 +34,10 @@
extern "C" {
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gen_spec;
struct gen_group;
struct gen_field;
@@ -185,6 +189,9 @@ void gen_print_group(FILE *out,
struct gen_group *group,
uint64_t offset, const uint32_t *p,
bool color);
+#ifdef __cplusplus
+}
+#endif
#ifdef __cplusplus
}
--
2.14.2
More information about the mesa-dev
mailing list