Searched refs:externpy (Results 1 – 2 of 2) sorted by relevance
64 struct _cffi_externpy_s *externpy; in _ffi_def_extern_decorator() local116 externpy = (struct _cffi_externpy_s *)g->address; in _ffi_def_extern_decorator()117 interpstate_key = PyLong_FromVoidPtr((void *)externpy); in _ffi_def_extern_decorator()131 old1 = externpy->reserved1; in _ffi_def_extern_decorator()132 externpy->reserved1 = Py_None; /* a non-NULL value */ in _ffi_def_extern_decorator()148 static int _update_cache_to_call_python(struct _cffi_externpy_s *externpy) in _update_cache_to_call_python() argument157 interpstate_key = PyLong_FromVoidPtr((void *)externpy); in _update_cache_to_call_python()169 old1 = (PyObject *)externpy->reserved1; in _update_cache_to_call_python()170 old2 = (PyObject *)externpy->reserved2; in _update_cache_to_call_python()171 externpy->reserved1 = new1; /* holds a reference */ in _update_cache_to_call_python()[all …]
439 void _cffi_start_and_call_python(struct _cffi_externpy_s *externpy, char *args) in _cffi_start_and_call_python() argument449 "failed. Returning 0.\n", externpy->name); in _cffi_start_and_call_python()450 memset(args, 0, externpy->size_of_result); in _cffi_start_and_call_python()458 fnptr(externpy, args); in _cffi_start_and_call_python()