更新时间:2023-01-29 20:00:09
否,不可能通过指针将Lua表用作C数组.
No, it is not possible to use a Lua table as a C array via a pointer.
获取值并将其放入Lua表的唯一方法是使用Lua C API.
The only way to get and put values in a Lua table is by using the Lua C API.
是否可以使用c指针访问Lua表元素?