lua-users home
lua-l archive

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


>    for (int i=0; i<bonesOut.getSize(); i++)
>    {
>        lua_pushnumber(l, (int)bonesOut[i]);
>    }
> 

Mind the stack.
You should add something like "luaL_checkstack(L, bonesOut.getSize())"
before the loop...

-- Roberto