lua-users home
lua-l archive

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


On Sat, 2008-01-19 at 13:58 +0300, eugeny gladkih wrote:
> >>>>> "RK" == Rob Kendrick <lua-l@nun.org.uk> writes:
> 
>  >> > I notice that lua_pushliteral is not in the manual. Is it meant to be
>  >> > in there, or is it meant to remain absent?
>  >> 
>  >> It is meant to be there. Thanks,
> 
>  RK> Talking of such, is there a specific reason newproxy() not being in the
>  RK> manual?  I occasionally make use of this function call - it can be
>  RK> extremely handy, and it seems odd to allow its use and not document it.
> 
> what does it do?

Allows you to create objects in Lua that have their __gc metamethod
honoured (via a bit of a fudge) without having to resort with C, among
other things.

See http://lua-users.org/lists/lua-l/2005-09/msg00474.html

B.