Original Post
Hello Can someone point me to an url / source / ... where I can define a variable in lua from c++ ? Here's what I want in pseudo code : From C++: std::string variable = "arg1"; int value = 10; SetLuaVariable(variable.c_str(), value); CallLUAFunction("func"); From Lua: function func() print ("arg1 = "..arg1) end Lua doc is not realy clear. Thx