Lines Matching refs:md_def
41 struct PyModuleDef *def = module->md_def; in _PyModule_IsExtension()
98 m->md_def = NULL; in PyModule_NewObject()
243 m->md_def = module; in _PyModule_CreateInitialized()
329 ((PyModuleObject*)m)->md_def = def; in PyModule_FromDefAndSpec2()
681 if (m->md_def && m->md_def->m_free in module_dealloc()
682 && (m->md_def->m_size <= 0 || m->md_state != NULL)) in module_dealloc()
684 m->md_def->m_free(m); in module_dealloc()
778 if (m->md_def && m->md_def->m_traverse in module_traverse()
779 && (m->md_def->m_size <= 0 || m->md_state != NULL)) in module_traverse()
781 int res = m->md_def->m_traverse((PyObject*)m, visit, arg); in module_traverse()
793 if (m->md_def && m->md_def->m_clear in module_clear()
794 && (m->md_def->m_size <= 0 || m->md_state != NULL)) in module_clear()
796 int res = m->md_def->m_clear((PyObject*)m); in module_clear()