summaryrefslogtreecommitdiff
path: root/orc/orcpowerpc.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-04-14 13:00:57 -0700
committerDavid Schleef <ds@schleef.org>2011-04-14 13:00:57 -0700
commit468503ffe67adacec5669f426c19377c66680e00 (patch)
treeacdf4b441f4a46ef98f60f85d330bdfd114566b3 /orc/orcpowerpc.h
parent035495a30ff6057c6b97f92d36bc2c71cf3e9e5e (diff)
downloadorc-468503ffe67adacec5669f426c19377c66680e00.tar.gz
headers: Add BEGIN_DECLS and ORC_ENABLE_UNSTABLE_API
Diffstat (limited to 'orc/orcpowerpc.h')
-rw-r--r--orc/orcpowerpc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/orc/orcpowerpc.h b/orc/orcpowerpc.h
index 5a85a47..918a26b 100644
--- a/orc/orcpowerpc.h
+++ b/orc/orcpowerpc.h
@@ -4,6 +4,10 @@
#include <orc/orcprogram.h>
+ORC_BEGIN_DECLS
+
+#ifdef ORC_ENABLE_UNSTABLE_API
+
enum {
POWERPC_R0 = ORC_GP_REG_BASE,
POWERPC_R1,
@@ -168,6 +172,9 @@ int powerpc_get_constant_full (OrcCompiler *p, int value0, int value1, int value
#define powerpc_emit_vperm(p,a,b,c,d) powerpc_emit_VA (p, "vperm", 0x1000002b, a, b, c, d)
+#endif
+
+ORC_END_DECLS
#endif