[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Passing arrays from C++ to LUA
- From: "John Calsbeek" <nexuapex@...>
- Date: Mon, 27 Aug 2007 09:00:01 -0500
After creating the table with lua_newtable, for each item in the array you'd need to push it with lua_pushinteger and add it to the table with lua_rawseti(L, -2, idx).