On Sun, 2003-12-07 at 22:27, MenTaLguY wrote:
> Looking into this, it appears that GClosure actually uses a gpointer for
> the callback function.
Update: I've filed a bug against GLib/GObject.
Indeed, it appears that even with the explicit cast, it would be valid
for a compiler to generate an error in this case.
=46rom the ANSI C Rationale document:
* Even with an explicit cast, it is invalid to convert a function
pointer to an object pointer or a pointer to void, or vice-versa.
Get latest updates about Open Source Projects, Conferences and News.