lua-users home
lua-l archive

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


Bug ?

luaL_openlibs does not leave the stack clean in work 3. The following fails with two entries left on the stack, the maths string key and (it's ?) a table.

        lua_State* L = luaL_newstate();
        luaL_openlibs(L);
        CPPUNIT_ASSERT_EQUAL(0,lua_gettop(L));

Liam