Home
last modified time | relevance | path

Searched refs:interpstate_key (Results 1 – 1 of 1) sorted by relevance

/external/python/cffi/c/
Dcall_python.c70 PyObject *interpstate_key; in _ffi_def_extern_decorator() local
117 interpstate_key = PyLong_FromVoidPtr((void *)externpy); in _ffi_def_extern_decorator()
118 if (interpstate_key == NULL) { in _ffi_def_extern_decorator()
123 err = PyDict_SetItem(interpstate_dict, interpstate_key, infotuple); in _ffi_def_extern_decorator()
124 Py_DECREF(interpstate_key); in _ffi_def_extern_decorator()
150 PyObject *interpstate_dict, *interpstate_key, *infotuple, *old1, *new1; in _update_cache_to_call_python() local
157 interpstate_key = PyLong_FromVoidPtr((void *)externpy); in _update_cache_to_call_python()
158 if (interpstate_key == NULL) in _update_cache_to_call_python()
161 infotuple = PyDict_GetItem(interpstate_dict, interpstate_key); in _update_cache_to_call_python()
162 Py_DECREF(interpstate_key); in _update_cache_to_call_python()