lua-users home
lua-l archive

Segfault with luaL_getmetatable

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


Lua 5.2.0 (work2), built with MinGW on Windows XP.
The following library invoked by "lua52 -ltest1" causes a segfault.
#include <lua.h>
#include <lauxlib.h>
int luaopen_test1 (lua_State *L)
{
 luaL_getmetatable(L, "abcde");
 return 0;
}
--
Shmuel

AltStyle によって変換されたページ (->オリジナル) /