lua-users home
lua-l archive

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


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