mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
support older gecko version
This commit is contained in:
parent
68228e9198
commit
c176ba64f9
@ -26,10 +26,10 @@ NPClass PPPandaObject::_object_class = {
|
||||
&PPPandaObject::NPGetProperty,
|
||||
&PPPandaObject::NPSetProperty,
|
||||
&PPPandaObject::NPRemoveProperty,
|
||||
#if NP_CLASS_STRUCT_VERSION >= NP_CLASS_STRUCT_VERSION_ENUM
|
||||
#if defined(NP_CLASS_STRUCT_VERSION_ENUM) && NP_CLASS_STRUCT_VERSION >= NP_CLASS_STRUCT_VERSION_ENUM
|
||||
&PPPandaObject::NPEnumerate,
|
||||
#endif
|
||||
#if NP_CLASS_STRUCT_VERSION >= NP_CLASS_STRUCT_VERSION_CTOR
|
||||
#if defined(NP_CLASS_STRUCT_VERSION_CTOR) && NP_CLASS_STRUCT_VERSION >= NP_CLASS_STRUCT_VERSION_CTOR
|
||||
&PPPandaObject::NPConstruct,
|
||||
#endif
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user