projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r600: Make it possible to include r600_asm.h in a C++ file
[mesa.git]
/
src
/
gallium
/
drivers
/
r600
/
r600_asm.h
diff --git
a/src/gallium/drivers/r600/r600_asm.h
b/src/gallium/drivers/r600/r600_asm.h
index ca9280a7a8386ec8d887865548afcc57fb566ebd..71a3ae1bad4357f240a512cffb07ec5446c0200c 100644
(file)
--- a/
src/gallium/drivers/r600/r600_asm.h
+++ b/
src/gallium/drivers/r600/r600_asm.h
@@
-27,6
+27,10
@@
#include "r600_isa.h"
#include "tgsi/tgsi_exec.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct r600_bytecode_alu_src {
unsigned sel;
unsigned chan;
@@
-358,4
+362,9
@@
static inline int fp64_switch(int i)
}
return 0;
}
+
+#ifdef __cplusplus
+}
+#endif
+
#endif