Re: Initialisation Issue
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Initialisation Issue
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 2 Feb 2010 14:49:10 -0200
> 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.