Advertisement

Passing arrays from lua to C++

Started by May 28, 2004 03:52 PM
-1 comments, last by nickwinters 20 years, 8 months ago
I have some C++ function that can be called from Lua. I want one of the parameters Lua passes to it to be an array. How do I parse it in C++? Will lua_tonumber and luaL_checkstring work for arrays to? Thanks. -Nick

This topic is closed to new replies.

Advertisement