Searched refs:Menu_Type (Results 1 – 1 of 1) sorted by relevance
59 PyTypeObject Menu_Type; variable61 #define MenuObj_Check(x) ((x)->ob_type == &Menu_Type || PyObject_TypeCheck((x), &Menu_Type))71 it = PyObject_NEW(MenuObject, &Menu_Type); in MenuObj_New()2556 PyTypeObject Menu_Type = { variable3466 Menu_Type.ob_type = &PyType_Type; in init_Menu()3467 if (PyType_Ready(&Menu_Type) < 0) return; in init_Menu()3468 Py_INCREF(&Menu_Type); in init_Menu()3469 PyModule_AddObject(m, "Menu", (PyObject *)&Menu_Type); in init_Menu()3471 Py_INCREF(&Menu_Type); in init_Menu()3472 PyModule_AddObject(m, "MenuType", (PyObject *)&Menu_Type); in init_Menu()