lua-users home
lua-l archive

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


On 10 February 2015 at 12:51, 张睿 <zrui16@hotmail.com> wrote:
> 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')

Which version of lua are you running?
%L only exists in 5.3.