summaryrefslogtreecommitdiff
path: root/cffi/parse_c_type.h
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2015-05-28 21:01:01 +0200
committerArmin Rigo <arigo@tunes.org>2015-05-28 21:01:01 +0200
commit1929e9623c004d3f7d05e13bcd7afc8ccc144410 (patch)
tree816934aceb5b549fc4ae0a0b0f7ec64be425688d /cffi/parse_c_type.h
parent66c6902e05e7439dda4e73fde7c3b338590ebf7d (diff)
downloadcffi-1929e9623c004d3f7d05e13bcd7afc8ccc144410.tar.gz
Better compatibility: detect if we have an old cffi running a new ABI
mode script that makes use of the new OP_CONSTANT feature --- now renamed to OP_DLOPEN_CONST.
Diffstat (limited to 'cffi/parse_c_type.h')
-rw-r--r--cffi/parse_c_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cffi/parse_c_type.h b/cffi/parse_c_type.h
index 8c2ba4d..6c91897 100644
--- a/cffi/parse_c_type.h
+++ b/cffi/parse_c_type.h
@@ -25,6 +25,7 @@ typedef void *_cffi_opcode_t;
#define _CFFI_OP_CONSTANT_INT 31
#define _CFFI_OP_GLOBAL_VAR 33
#define _CFFI_OP_DLOPEN_FUNC 35
+#define _CFFI_OP_DLOPEN_CONST 37
#define _CFFI_PRIM_VOID 0
#define _CFFI_PRIM_BOOL 1