Preliminary support for wrapping methods in the lua script plugin.

This commit is contained in:
Robert Osfield
2013-12-25 17:36:32 +00:00
parent 865a47bd6b
commit afab78ed40
12 changed files with 466 additions and 39 deletions

View File

@@ -21,6 +21,9 @@
namespace osg
{
typedef std::vector< osg::ref_ptr<osg::Object> > Parameters;
// forward declare
class ScriptEngine;
@@ -93,8 +96,6 @@ class ScriptEngine : public osg::Object
/** get the scripting language supported by the ScriptEngine.*/
inline const std::string& getLanguage() const { return _language; }
typedef std::vector< osg::ref_ptr<osg::Object> > Parameters;
/** run a Script.*/
bool run(osg::Script* script)
{