On Wed, Oct 09, 2002 at 07:25:58PM -0700, Guy Harris wrote:
> Unfortunately, passing pointers to automatic variables
OK, so I don't like my solution any more :-)
> Those are inequivalent - the hash table uses the parent's protocol ID,
> cast to a pointer, so the latter won't work. You'd have to change the
> hash table to use what the pointer points to - see, for example,
> "g_int_equal()" and "g_int_hash()".
dito
> So, ugly though it may be, I'd vote for the SuSE solution here, unless
> the GLib macros referred to above include the cast, in which case using
> those macros would be equivalent to the SuSE solution but arguably a bit
> cleaner.
I just looked at the glib configure.in script (which generates glibconfig.h)
and it creates basically the same casts (although it always uses gXXX types).
I'll try to understand the rest of your answer when I've had some sleep.
Thanks
J�rg
--
Joerg Mayer <[EMAIL PROTECTED]>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.