37#ifndef H_OGF_GOM_LUA_INTEROP_H
38#define H_OGF_GOM_LUA_INTEROP_H
74 lua_State* L,
int index,
Any& result,
MetaType* mtype =
nullptr
86 const std::string& name =
"",
90 static void stacktrace(lua_State* L);
91 static void dump_table(lua_State* L,
int index);
92 static const char* type_to_string(
int type);
101#define geo_lua_check_stack(L) StackDebugger(L, __FILE__,__LINE__)
103#define geo_lua_check_stack(L)
A class that stores a variable of arbitrary type.
Small class to debug wrong management of Lua stack.
void lua_pushgraphiteval(lua_State *L, const Any &value)
Pushes a value on the LUA stack.
void lua_tographiteval(lua_State *L, int index, Any &result, MetaType *mtype=nullptr)
Converts a LUA value to a graphite value stored in an Any.
Global Graphite namespace.