Updated wrappers
This commit is contained in:
parent
9e9b9250c3
commit
c072e4adac
@ -42,6 +42,8 @@ ignore file "osgViewer/api/X11/GraphicsWindowX11"
|
|||||||
ignore file "osgViewer/api/Win32/GraphicsWindowWin32"
|
ignore file "osgViewer/api/Win32/GraphicsWindowWin32"
|
||||||
ignore file "osgViewer/api/Cocoa/GraphicsWindowCocoa"
|
ignore file "osgViewer/api/Cocoa/GraphicsWindowCocoa"
|
||||||
|
|
||||||
|
suppress reflector "CPluginFunction"
|
||||||
|
suppress reflector "PluginFunctionProxy"
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
typedef void (* CPluginFunction) (void);
|
||||||
|
}
|
||||||
|
|
||||||
namespace osgDB {
|
namespace osgDB {
|
||||||
|
|
||||||
@ -565,10 +569,6 @@ class RegisterReaderWriterProxy
|
|||||||
osg::ref_ptr<T> _rw;
|
osg::ref_ptr<T> _rw;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
typedef void (* CPluginFunction) (void);
|
|
||||||
}
|
|
||||||
|
|
||||||
class PluginFunctionProxy
|
class PluginFunctionProxy
|
||||||
{
|
{
|
||||||
|
@ -49,7 +49,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::basic_type_wrapper)
|
|||||||
END_REFLECTOR
|
END_REFLECTOR
|
||||||
|
|
||||||
BEGIN_VALUE_REFLECTOR(osgDB::PluginFunctionProxy)
|
BEGIN_VALUE_REFLECTOR(osgDB::PluginFunctionProxy)
|
||||||
I_Constructor1(IN, osgDB::CPluginFunction, function,
|
I_Constructor1(IN, CPluginFunction, function,
|
||||||
Properties::NON_EXPLICIT,
|
Properties::NON_EXPLICIT,
|
||||||
____PluginFunctionProxy__CPluginFunction,
|
____PluginFunctionProxy__CPluginFunction,
|
||||||
"",
|
"",
|
||||||
@ -600,5 +600,3 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry::WriteFileCallback)
|
|||||||
"");
|
"");
|
||||||
END_REFLECTOR
|
END_REFLECTOR
|
||||||
|
|
||||||
TYPE_NAME_ALIAS(void(*, osgDB::CPluginFunction)
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user