Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_ctypes/
Dctypes.h137 extern PyTypeObject PyCArray_Type;
145 #define ArrayObject_Check(v) PyObject_TypeCheck(v, &PyCArray_Type)
D_ctypes.c4575 PyTypeObject PyCArray_Type = { variable
4662 &PyCArray_Type, in PyCArrayType_from_ctype()
5525 Py_TYPE(&PyCArray_Type) = &PyCArrayType_Type; in PyInit__ctypes()
5526 PyCArray_Type.tp_base = &PyCData_Type; in PyInit__ctypes()
5527 if (PyType_Ready(&PyCArray_Type) < 0) in PyInit__ctypes()
5529 Py_INCREF(&PyCArray_Type); in PyInit__ctypes()
5530 PyModule_AddObject(m, "Array", (PyObject *)&PyCArray_Type); in PyInit__ctypes()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h177 extern PyTypeObject PyCArray_Type;
185 #define ArrayObject_Check(v) PyObject_TypeCheck(v, &PyCArray_Type)
D_ctypes.c4772 PyTypeObject PyCArray_Type = { variable
4863 &PyCArray_Type, in PyCArrayType_from_ctype()
5762 Py_TYPE(&PyCArray_Type) = &PyCArrayType_Type; in init_ctypes()
5763 PyCArray_Type.tp_base = &PyCData_Type; in init_ctypes()
5764 if (PyType_Ready(&PyCArray_Type) < 0) in init_ctypes()
5766 Py_INCREF(&PyCArray_Type); in init_ctypes()
5767 PyModule_AddObject(m, "Array", (PyObject *)&PyCArray_Type); in init_ctypes()