mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
interrogatedb: Switch T_OBJECT to T_OBJECT_EX for this_metatype
T_OBJECT has been deprecated.
This commit is contained in:
parent
098fe634a5
commit
c45e14a563
@ -21,7 +21,7 @@ static PyMemberDef standard_type_members[] = {
|
|||||||
{(char *)"this_const", T_BOOL, offsetof(Dtool_PyInstDef, _is_const), READONLY, (char *)"C++ 'this' const flag"},
|
{(char *)"this_const", T_BOOL, offsetof(Dtool_PyInstDef, _is_const), READONLY, (char *)"C++ 'this' const flag"},
|
||||||
// {(char *)"this_signature", T_INT, offsetof(Dtool_PyInstDef, _signature),
|
// {(char *)"this_signature", T_INT, offsetof(Dtool_PyInstDef, _signature),
|
||||||
// READONLY, (char *)"A type check signature"},
|
// READONLY, (char *)"A type check signature"},
|
||||||
{(char *)"this_metatype", T_OBJECT, offsetof(Dtool_PyInstDef, _My_Type), READONLY, (char *)"The dtool meta object"},
|
{(char *)"this_metatype", T_OBJECT_EX, offsetof(Dtool_PyInstDef, _My_Type), READONLY, (char *)"The dtool meta object"},
|
||||||
{nullptr} /* Sentinel */
|
{nullptr} /* Sentinel */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user