[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: collected c calls faster?
- From: liam mail <liam.list@...>
- Date: Wed, 19 Oct 2011 11:44:00 +0100
On 18 October 2011 16:24, Jerome Vuarand <firstname.lastname@example.org> wrote:
> To store function pointers used like that you should use
> light userdata. But that's not the issue.
If you want to store a function then use a function pointer or a
structure containing a function pointer, only use a void pointer if
you are sure a it can hold a function pointer on the platform in
question; otherwise there be dragons.