projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac77fb7
)
r600: protect r600_isa.h with extern "C"
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Sun, 8 May 2016 19:53:53 +0000
(14:53 -0500)
committer
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Fri, 13 May 2016 06:03:37 +0000
(
01:03
-0500)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/r600/r600_isa.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_isa.h
b/src/gallium/drivers/r600/r600_isa.h
index b3f49bda88ecf25a8ba638b63dc0444b788fe2fa..005b580ac2c9f9a7ca266dac84ff05af811b3016 100644
(file)
--- a/
src/gallium/drivers/r600/r600_isa.h
+++ b/
src/gallium/drivers/r600/r600_isa.h
@@
-29,6
+29,10
@@
#include "util/u_debug.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* ALU flags */
enum alu_op_flags
{
@@
-1236,4
+1240,8
@@
r600_isa_cf_by_opcode(struct r600_isa* isa, unsigned opcode, unsigned is_alu) {
return op - 1;
}
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* R600_ISA_H_ */