🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Passing arrays from lua to C++

Started by
-1 comments, last by nickwinters 20 years, 1 month 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