Author: Armin Rigo <ar...@tunes.org> Branch: cffi-static-callback Changeset: r80700:3b2e3b091734 Date: 2015-11-16 00:07 +0100 http://bitbucket.org/pypy/pypy/changeset/3b2e3b091734/
Log: update this file diff --git a/pypy/module/_cffi_backend/src/parse_c_type.h b/pypy/module/_cffi_backend/src/parse_c_type.h --- a/pypy/module/_cffi_backend/src/parse_c_type.h +++ b/pypy/module/_cffi_backend/src/parse_c_type.h @@ -27,6 +27,7 @@ #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 @@ -160,6 +161,12 @@ const char *error_message; }; +struct _cffi_callpy_s { + const char *name; + size_t size_of_result; + void *reserved1, *reserved2; +}; + #ifdef _CFFI_INTERNAL RPY_EXTERN int pypy_parse_c_type(struct _cffi_parse_info_s *info, const char *input); _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit