I can not get value from an array in Lua to use in C ++.
So I get the value of the variable M :
//No LUA
M = 85
//No C++
L = lua_open();
luaL_loadfile(L, "teste.lua");
lua_pcall(L, 0, 0, 0);
int m;
lua_getglobal(L, "M");...
asked by
14.08.2014 / 01:52