diff options
author | Armin Rigo <arigo@tunes.org> | 2015-11-13 15:34:40 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2015-11-13 15:34:40 +0100 |
commit | 2eb8e49216766fa09da37e7500908b4ac30440a5 (patch) | |
tree | 79e719ea4bc4b37e16e77cb803ad4d145c916cb2 /cffi/parse_c_type.h | |
parent | beda97da0fef567b2aa2dea22299352750c109ae (diff) | |
download | cffi-2eb8e49216766fa09da37e7500908b4ac30440a5.tar.gz |
tweak tweak tweak until we can at least read the function pointer out of
the 'lib' object
Diffstat (limited to 'cffi/parse_c_type.h')
-rw-r--r-- | cffi/parse_c_type.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cffi/parse_c_type.h b/cffi/parse_c_type.h index 0c57b3a..26ff064 100644 --- a/cffi/parse_c_type.h +++ b/cffi/parse_c_type.h @@ -27,6 +27,7 @@ typedef void *_cffi_opcode_t; #define _CFFI_OP_DLOPEN_FUNC 35 #define _CFFI_OP_DLOPEN_CONST 37 #define _CFFI_OP_GLOBAL_VAR_F 39 +#define _CFFI_OP_CALL_PYTHON 41 #define _CFFI_PRIM_VOID 0 #define _CFFI_PRIM_BOOL 1 @@ -162,15 +163,11 @@ struct _cffi_parse_info_s { struct _cffi_callpy_s { const char *name; - const struct _cffi_type_context_s *ctx; int type_index; - void *direct_fn; - void *reserved; + int reserved1; + void *reserved2, *reserved3; }; -extern void _cffi_call_python(struct _cffi_callpy_s *, char *); - - #ifdef _CFFI_INTERNAL static int parse_c_type(struct _cffi_parse_info_s *info, const char *input); static int search_in_globals(const struct _cffi_type_context_s *ctx, |