Searched refs:stgdict (Results 1 – 3 of 3) sorted by relevance
314 StgDictObject *stgdict, *basedict; in PyCStructUnionType_update_stgdict() local364 stgdict = PyType_stgdict(type); in PyCStructUnionType_update_stgdict()365 if (!stgdict) in PyCStructUnionType_update_stgdict()370 if (stgdict->flags & DICTFLAG_FINAL) {/* is final ? */ in PyCStructUnionType_update_stgdict()376 if (stgdict->format) { in PyCStructUnionType_update_stgdict()377 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict()378 stgdict->format = NULL; in PyCStructUnionType_update_stgdict()381 if (stgdict->ffi_type_pointer.elements) in PyCStructUnionType_update_stgdict()382 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict()390 stgdict->ffi_type_pointer.type = FFI_TYPE_STRUCT; in PyCStructUnionType_update_stgdict()[all …]
378 StgDictObject *stgdict; in StructUnionType_paramfunc() local385 stgdict = PyObject_stgdict((PyObject *)self); in StructUnionType_paramfunc()386 assert(stgdict); /* Cannot be NULL for structure/union instances */ in StructUnionType_paramfunc()387 parg->pffi_type = &stgdict->ffi_type_pointer; in StructUnionType_paramfunc()899 PyCPointerType_SetProto(StgDictObject *stgdict, PyObject *proto) in PyCPointerType_SetProto() argument912 Py_XSETREF(stgdict->proto, proto); in PyCPointerType_SetProto()937 StgDictObject *stgdict; in PyCPointerType_new() local948 stgdict = (StgDictObject *)PyObject_CallObject( in PyCPointerType_new()950 if (!stgdict) in PyCPointerType_new()952 stgdict->size = sizeof(void *); in PyCPointerType_new()[all …]
124 SOURCE=..\..\Modules\_ctypes\stgdict.c