Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_ctypes/
D_ctypes.c4219 static PyTypeObject Struct_Type = { variable
5504 Py_TYPE(&Struct_Type) = &PyCStructType_Type; in PyInit__ctypes()
5505 Struct_Type.tp_base = &PyCData_Type; in PyInit__ctypes()
5506 if (PyType_Ready(&Struct_Type) < 0) in PyInit__ctypes()
5508 Py_INCREF(&Struct_Type); in PyInit__ctypes()
5509 PyModule_AddObject(m, "Structure", (PyObject *)&Struct_Type); in PyInit__ctypes()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c4332 static PyTypeObject Struct_Type = { variable
5741 Py_TYPE(&Struct_Type) = &PyCStructType_Type; in init_ctypes()
5742 Struct_Type.tp_base = &PyCData_Type; in init_ctypes()
5743 if (PyType_Ready(&Struct_Type) < 0) in init_ctypes()
5745 Py_INCREF(&Struct_Type); in init_ctypes()
5746 PyModule_AddObject(m, "Structure", (PyObject *)&Struct_Type); in init_ctypes()