Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_library_load.c
| Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static PyTypeObject bpy_lib_Type = { | static PyTypeObject bpy_lib_Type = { | ||||
| PyVarObject_HEAD_INIT(NULL, 0) "bpy_lib", /* tp_name */ | PyVarObject_HEAD_INIT(NULL, 0) "bpy_lib", /* tp_name */ | ||||
| sizeof(BPy_Library), /* tp_basicsize */ | sizeof(BPy_Library), /* tp_basicsize */ | ||||
| 0, /* tp_itemsize */ | 0, /* tp_itemsize */ | ||||
| /* methods */ | /* methods */ | ||||
| (destructor)bpy_lib_dealloc, /* tp_dealloc */ | (destructor)bpy_lib_dealloc, /* 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; */ | ||||
| NULL, /* PySequenceMethods *tp_as_sequence; */ | NULL, /* PySequenceMethods *tp_as_sequence; */ | ||||
| ▲ Show 20 Lines • Show All 388 Lines • Show Last 20 Lines | |||||