lua-users home
lua-l archive

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


lua_getallocf ?

On Sat, Apr 14, 2018 at 2:43 PM, Viacheslav Usov <via.usov@gmail.com> wrote:
> Given a lua_State pointer, is there a way to retrieve  the opaque pointer
> passed to lua_newstate() when the given state was created?
>
> If not currently, a new API function doing that could be useful.
>
> Cheers,
> V.