[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Accessing functions from C
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 2 Apr 2002 07:14:35 -0300
>How do I retreive a persistent reference to the second, the function?
Do you really need a persistent form? I mean, to store in a file and load
later? If so, you can try ldumplib.c, available in the work version.
If you only need a reference that lives during the lifetime of your program,
then you can use references (there's an API for it: lua_ref, lua_getref,