projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c6268
)
gallium: Support swig "compiler" in p_compiler.h
author
Jakob Bornecrantz
<jakob@vmware.com>
Sun, 17 Jan 2010 14:40:49 +0000
(14:40 +0000)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Sun, 17 Jan 2010 16:44:39 +0000
(16:44 +0000)
src/gallium/include/pipe/p_compiler.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_compiler.h
b/src/gallium/include/pipe/p_compiler.h
index 18ebd0c948350d0431a9015793e2cde009d5f05e..819f27f6dfb6e06b097442026ae1dae4789911b5 100644
(file)
--- a/
src/gallium/include/pipe/p_compiler.h
+++ b/
src/gallium/include/pipe/p_compiler.h
@@
-162,6
+162,13
@@
typedef unsigned char boolean;
#define PIPE_ALIGN_STACK
+#elif defined(SWIG)
+
+#define PIPE_ALIGN_TYPE(_alignment, _type) _type
+#define PIPE_ALIGN_VAR(_alignment)
+
+#define PIPE_ALIGN_STACK
+
#else
#error "Unsupported compiler"