Lines Matching refs:PyModuleDef
92 :c:member:`PyModuleDef.m_size`.
95 .. c:function:: PyModuleDef* PyModule_GetDef(PyObject *module)
97 Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
139 .. c:type:: PyModuleDef
248 .. c:function:: PyObject* PyModule_Create(PyModuleDef *def)
255 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version)
296 (PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty
297 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef``
300 .. c:function:: PyObject* PyModuleDef_Init(PyModuleDef *def)
333 .. c:function:: PyObject* create_module(PyObject *spec, PyModuleDef *def)
357 ``PyModuleDef`` has non-``NULL`` ``m_traverse``, ``m_clear``,
382 .. c:function:: PyObject * PyModule_FromDefAndSpec(PyModuleDef *def, PyObject *spec)
390 .. c:function:: PyObject * PyModule_FromDefAndSpec2(PyModuleDef *def, PyObject *spec, int module_ap…
404 .. c:function:: int PyModule_ExecDef(PyObject *module, PyModuleDef *def)
414 ``PyModuleDef``, using either ``PyModule_Create`` or
427 ``PyModuleDef``, using either ``PyModule_Create`` or
508 .. c:function:: PyObject* PyState_FindModule(PyModuleDef *def)
515 .. c:function:: int PyState_AddModule(PyObject *module, PyModuleDef *def)
536 .. c:function:: int PyState_RemoveModule(PyModuleDef *def)