lua-users home
lua-l archive

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


> The document of lua_pushfstring says '%L' inserts a lua_Integer. I tried:
> 
> 
> 
> lua_pushfstring(L, "%L", (lua_Integer) 0);
> 
> 
> 
> … and got:
> 
> 
> 
> PANIC: unprotected error in call to Lua API (invalid option '%L' to 'lua_pushfstring')

The manual is wrong. It should read '%I'.

-- Roberto