Updated wrappers
This commit is contained in:
@@ -20,11 +20,24 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(OpenThreads::Mutex::MutexType)
|
||||
I_DeclaringFile("OpenThreads/Mutex");
|
||||
I_EnumLabel(OpenThreads::Mutex::MUTEX_NORMAL);
|
||||
I_EnumLabel(OpenThreads::Mutex::MUTEX_RECURSIVE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(OpenThreads::Mutex)
|
||||
I_DeclaringFile("OpenThreads/Mutex");
|
||||
I_Constructor0(____Mutex,
|
||||
"Constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, OpenThreads::Mutex::MutexType, type, OpenThreads::Mutex::MUTEX_NORMAL,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Mutex__MutexType,
|
||||
"Constructor. ",
|
||||
"");
|
||||
I_Method0(OpenThreads::Mutex::MutexType, getMutexType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MutexType__getMutexType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, lock,
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
@@ -40,5 +53,8 @@ BEGIN_OBJECT_REFLECTOR(OpenThreads::Mutex)
|
||||
__int__trylock,
|
||||
"Test if mutex can be locked. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_SimpleProperty(OpenThreads::Mutex::MutexType, MutexType,
|
||||
__MutexType__getMutexType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,20 +26,5 @@ BEGIN_OBJECT_REFLECTOR(OpenThreads::ReentrantMutex)
|
||||
I_Constructor0(____ReentrantMutex,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, lock,
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
"Lock the mutex. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, unlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__unlock,
|
||||
"Unlock the mutex. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, trylock,
|
||||
Properties::VIRTUAL,
|
||||
__int__trylock,
|
||||
"Test if mutex can be locked. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -63,6 +63,11 @@ BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager)
|
||||
____DatabasePager__C5_DatabasePager_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::DatabasePager *, clone,
|
||||
Properties::VIRTUAL,
|
||||
__DatabasePager_P1__clone,
|
||||
|
||||
@@ -27,6 +27,11 @@
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::Scene)
|
||||
I_DeclaringFile("osgViewer/Scene");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
|
||||
@@ -34,6 +34,11 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Callback)
|
||||
____Callback__C5_Callback_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osgWidget::EventType, type, , IN, void *, data, 0,
|
||||
____Callback__EventType__void_P1,
|
||||
"",
|
||||
@@ -67,6 +72,11 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::CallbackInterface)
|
||||
I_Constructor0(____CallbackInterface,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgWidget::Event)
|
||||
|
||||
Reference in New Issue
Block a user