[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 9 Jun 2014 16:47:46 -0300
> While trying to port some old code to Lua 5.3, I noticed that the compiler
> is giving me an error regarding a missing argument in lua_dump, and the
> documentation seems to be out-dated.
>
> According to the manual: int lua_dump (lua_State *L, lua_Writer writer,
> void *data);
> while the signature in lua.h is: int (lua_dump) (lua_State *L, lua_Writer
> writer, void *data, int strip);
Thanks for the correction.
(This new parameter allows you to strip debug information when
dumpping a function. More often than not you want 0 there.)
-- Roberto