Lines Matching refs:PyModuleObject
10 } PyModuleObject; typedef
13 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY},
20 PyModuleObject *m; in PyModule_New()
22 m = PyObject_GC_New(PyModuleObject, &PyModule_Type); in PyModule_New()
53 d = ((PyModuleObject *)m) -> md_dict; in PyModule_GetDict()
55 ((PyModuleObject *)m) -> md_dict = d = PyDict_New(); in PyModule_GetDict()
68 d = ((PyModuleObject *)m)->md_dict; in PyModule_GetName()
88 d = ((PyModuleObject *)m)->md_dict; in PyModule_GetFilename()
113 d = ((PyModuleObject *)m)->md_dict; in _PyModule_Clear()
154 module_init(PyModuleObject *m, PyObject *args, PyObject *kwds) in module_init()
176 module_dealloc(PyModuleObject *m) in module_dealloc()
187 module_repr(PyModuleObject *m) in module_repr()
209 module_traverse(PyModuleObject *m, visitproc visit, void *arg) in module_traverse()
224 sizeof(PyModuleObject), /* tp_basicsize */
257 offsetof(PyModuleObject, md_dict), /* tp_dictoffset */