Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_app_translations.c
| Show First 20 Lines • Show All 789 Lines • ▼ Show 20 Lines | static PyTypeObject BlenderAppTranslationsType = { | ||||
| /* tp_name */ | /* tp_name */ | ||||
| "bpy.app._translations_type", | "bpy.app._translations_type", | ||||
| /* tp_basicsize */ | /* tp_basicsize */ | ||||
| sizeof(BlenderAppTranslations), | sizeof(BlenderAppTranslations), | ||||
| 0, /* tp_itemsize */ | 0, /* tp_itemsize */ | ||||
| /* methods */ | /* methods */ | ||||
| /* No destructor, this is a singleton! */ | /* No destructor, this is a singleton! */ | ||||
| NULL, /* tp_dealloc */ | NULL, /* tp_dealloc */ | ||||
| #if PY_VERSION_HEX >= 0x03080000 | |||||
| 0, /* tp_vectorcall_offset */ | 0, /* tp_vectorcall_offset */ | ||||
| #else | |||||
| (printfunc)NULL, /* printfunc tp_print */ | |||||
| #endif | |||||
| NULL, /* getattrfunc tp_getattr; */ | NULL, /* getattrfunc tp_getattr; */ | ||||
| NULL, /* setattrfunc tp_setattr; */ | NULL, /* setattrfunc tp_setattr; */ | ||||
| NULL, | NULL, | ||||
| /* tp_compare */ /* DEPRECATED in python 3.0! */ | /* tp_compare */ /* DEPRECATED in python 3.0! */ | ||||
| NULL, /* tp_repr */ | NULL, /* tp_repr */ | ||||
| /* Method suites for standard classes */ | /* Method suites for standard classes */ | ||||
| NULL, /* PyNumberMethods *tp_as_number; */ | NULL, /* PyNumberMethods *tp_as_number; */ | ||||
| ▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines | |||||