[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_pushfstring: '%L' inserts a lua_Integer?
- From: Daurnimator <quae@...>
- Date: Tue, 10 Feb 2015 13:04:45 -0500
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.