Re: Lua calls C : ok with Lua, hangs with LuaJIT
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua calls C : ok with Lua, hangs with LuaJIT
- From: Javier Guerra Giraldez <javier@...>
- Date: 2010年12月13日 16:30:54 -0500
On Mon, Dec 13, 2010 at 4:05 PM, jseb <gmane2010@finiderire.com> wrote:
> void print_string(lua_State *L)
> {
> const char *str = luaL_checkstring (L, 1);
> printf("chaine Lua: [ %s ]\n",str);
> }
must return an int
--
Javier