Skip to content

Commit

Permalink
Updated wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed May 27, 2007
1 parent 380f054 commit 7bd9961
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 2 additions & 0 deletions genwrapper.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ ignore file "osgViewer/api/X11/GraphicsWindowX11"
ignore file "osgViewer/api/Win32/GraphicsWindowWin32"
ignore file "osgViewer/api/Cocoa/GraphicsWindowCocoa"

suppress reflector "CPluginFunction"
suppress reflector "PluginFunctionProxy"

#############################################################################

Expand Down
8 changes: 4 additions & 4 deletions include/osgDB/Registry
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#include <map>
#include <string>

extern "C"
{
typedef void (* CPluginFunction) (void);
}

namespace osgDB {

Expand Down Expand Up @@ -565,10 +569,6 @@ class RegisterReaderWriterProxy
osg::ref_ptr<T> _rw;
};

extern "C"
{
typedef void (* CPluginFunction) (void);
}

class PluginFunctionProxy
{
Expand Down
4 changes: 1 addition & 3 deletions src/osgWrappers/osgDB/Registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::basic_type_wrapper)
END_REFLECTOR

BEGIN_VALUE_REFLECTOR(osgDB::PluginFunctionProxy)
I_Constructor1(IN, osgDB::CPluginFunction, function,
I_Constructor1(IN, CPluginFunction, function,
Properties::NON_EXPLICIT,
____PluginFunctionProxy__CPluginFunction,
"",
Expand Down Expand Up @@ -600,5 +600,3 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry::WriteFileCallback)
"");
END_REFLECTOR

TYPE_NAME_ALIAS(void(*, osgDB::CPluginFunction)

0 comments on commit 7bd9961

Please sign in to comment.