[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: help with callbacks
- From: "Jérôme Vuarand" <jerome.vuarand@...>
- Date: Sat, 18 Aug 2007 19:26:45 -0400
2007/8/18, Merick <Merick_TeVaran@comcast.net>:
> I'm using FreeBasic to make a script interpreter and have started adding
> wrappers for a gui library. Some of the functions for the gui take a
> pointer to a user-created function as one of the arguments. Can anyone
> tell me how to do this with functions created inside the lua script? I
> know it probably has something to do with lua_ref() but I just can't
> figure it out.
Can you send the prototype of the C function you are calling to
register a callback, along with the prototype of that callback ?