On Sun, 2003-12-07 at 21:54, Michael D. Seymour wrote:
> The GObject documentation notes that the "func" argument which is "The C
> closure callback of the handlers" of
> g_signal_handlers_[un]block_by_func(instance, func, data)
> is "useless for non-C closures". Does that mean the way "func" is
> handled changes with a different type of compiler?
No, there are actually two types of closures, GClosure, which is a
generic closure that might be implemented in any number of languages,
and GCClosure, which is designed specifically to be a binding for a C
(or C++) callback function.
In any case, problem is that the GCClosure code is actually violating
the ANSI C specification and making non-portable assumptions. See my