Lines Matching refs:md_def
13 struct PyModuleDef *md_def; member
98 m->md_def = NULL; in PyModule_NewObject()
240 m->md_def = module; in _PyModule_CreateInitialized()
326 ((PyModuleObject*)m)->md_def = def; in PyModule_FromDefAndSpec2()
559 return ((PyModuleObject *)m)->md_def; in PyModule_GetDef()
682 if (m->md_def && m->md_def->m_free) in module_dealloc()
683 m->md_def->m_free(m); in module_dealloc()
732 if (m->md_def && m->md_def->m_traverse) { in module_traverse()
733 int res = m->md_def->m_traverse((PyObject*)m, visit, arg); in module_traverse()
744 if (m->md_def && m->md_def->m_clear) { in module_clear()
745 int res = m->md_def->m_clear((PyObject*)m); in module_clear()