lua-intf
lua-intf copied to clipboard
How to save the Lua object in C + +?
I want to save a Lua of an object in c++. How to define the rest of the future can be used g_p
Cpp: G_p luaobj; Cppsave (luaobj * a) { G_p=a }
Test.lua local Luaobj={'name'=100,'psw'=2222} Cppsave (luaobj)