8 #include "vlutil/vlString.h"
14 #include <luabind/luabind.hpp>
26 T* value = luabind::object_cast<T*>(luaObject);
29 catch (luabind::cast_failed*)
38 boost::optional<T*> val;
39 val = luabind::object_cast_nothrow<T*>(luaObject);
T * luaTypeCast(luabind::object const &luaObject)
separator for "objects" which are comprised of entries
Definition: luaUtils.h:22
DT_DLL_vrfLua int DtLuaErrorHandler(lua_State *L)
Lua Debugging functions.
DT_DLL_vrfLua bool DtLuaFunctionExists(lua_State *luaState, const char *functionName)
Determine whether or not a function exists.
DT_DLL_vrfLua void DtLuaGetPath(lua_State *L, std::vector< std::string > &paths)
Get the path from the Lua state.
static const char * entrySeparator
Definition: luaUtils.h:18
#define DT_DLL_vrfLua
This file is used to determine how to build.
Definition: vrfLuaDefines.h:25
DT_DLL_vrfLua int DtLuaAppendPath(lua_State *L, const char *path)
Add a path into Lua for include files.
static const char * objectSeparator
separator for entries in an "object"
Definition: luaUtils.h:19
T * luaTypeCastNoThrow(luabind::object const &luaObject)
Definition: luaUtils.h:36
DT_DLL_vrfLua int DtLuaErrorHandlerToString(lua_State *L)