lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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).