lua-intf icon indicating copy to clipboard operation
lua-intf copied to clipboard

How to save the Lua object in C + +?

Open TWangCoin opened this issue 9 years ago • 0 comments

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)

TWangCoin avatar Nov 14 '15 01:11 TWangCoin