lua-c++-connection
Simplest lua function that returns a vector of strings
I need a very simple c++ function that calls a lua function that returns an array of strings, and stores them as a c++ vector. The function can look something like this:[详细]
2023-01-15 22:39 分类:问答Lua and C++: separation of duties
Please help to classify ways of organizing C++/Lua game code and to separate their duties. What are the most convenient ways, which one d开发者_如何学JAVAo you use?[详细]
2022-12-28 00:37 分类:问答Register C function in Lua table
How to register a C function in Lua, but 开发者_如何学运维not in a global context, but as a table field?This is what luaL_register() is intended to do, for one or more functions. The canonical usage i[详细]
2022-12-27 22:40 分类:问答