[Ecls-list] Callbacks in ECL
Goffioul Michael
goffioul at imec.be
Wed Oct 12 07:16:37 UTC 2005
> > Indeed, but I was trying to solve that problem at run-time,
> without the
> > need of a compilation step. In other words, do the
> counterpart of DFFI.
>
> But here my question is whether it does not suffice with a function
> pointer plus some state data, as in the example I posed
> before. That can
> be done with a single function implemented in ECL once and for all.
I don't know. If I take your example and the callback needed under Win32,
you get:
void (*) (void*)
int (*) (void*, unsigned int, unsigned int, int)
Do you think it's possible to handle both cases in a single callback?
Michael.
More information about the ecl-devel
mailing list