Searched refs:PyModuleObject (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Objects/ |
D | moduleobject.c | 22 } PyModuleObject; typedef 25 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY}, 53 module_init_dict(PyModuleObject *mod, PyObject *md_dict, in module_init_dict() 86 PyModuleObject *m; in PyModule_NewObject() 87 m = PyObject_GC_New(PyModuleObject, &PyModule_Type); in PyModule_NewObject() 180 PyModuleObject *m; in _PyModule_CreateInitialized() 210 if ((m = (PyModuleObject*)PyModule_New(name)) == NULL) in _PyModule_CreateInitialized() 320 ((PyModuleObject*)m)->md_state = NULL; in PyModule_FromDefAndSpec2() 321 ((PyModuleObject*)m)->md_def = def; in PyModule_FromDefAndSpec2() 376 PyModuleObject *md = (PyModuleObject*)module; in PyModule_ExecDef() [all …]
|
/third_party/python/Objects/clinic/ |
D | moduleobject.c.h | 14 module___init___impl(PyModuleObject *self, PyObject *name, PyObject *doc); 46 return_value = module___init___impl((PyModuleObject *)self, name, doc); in module___init__()
|