lua-users home
lua-l archive

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


> luaS_newlstr(L, "", 0);

You shouldn't be calling luaS_newlstr, which is part of the internal API.
Use lua_pushliteral, lua_pushstring or lua_pushlstring.