使用lua_call / lua_pcall而不弹出堆栈

时间:2017-11-27 02:53:25

标签: lua lua-api

当我使用lua_pcallvar obj = { bakery1: { small: { name: "Small cookie", price: 0.75; } large: { name: "Large cookie", price: 3.00; } } bakery2: { small: { name: "Small cookie", price: 1.00; } large: { name: "Large cookie", price: 4.00; } } }; 时,除了运行lua chunk之外,它还会从堆栈中弹出块。有什么办法可以在保持块的同时运行块吗?

0 个答案:

没有答案