Re: GLIB Hash Data
- From: Ruben I Safir <ruben mrbrklyn com>
- To: Mark Mielke <mark mark mielke cc>
- Cc: Ruben I Safir <ruben mrbrklyn com>, Sven Neumann <sven gimp org>, Gtk-List <gtk-list gnome org>
- Subject: Re: GLIB Hash Data
- Date: Thu, 25 Apr 2002 14:25:26 -0400
>
> They need to be:
>
> guint HashFunction (gconstpointer key);
> gboolean HashCompare (gconstpointer a, gconstpointer b);
Ahh
I was following the example in the book. I see, but isn't gboolean
#DEFINED as an int? There is no BOOL in C.
>
> The reference material online is fairly complete, but it is not
> especially verbose. People such as myself actually *prefer* this,
Yes
Once your more experienced with the dialect, short and sweet IS the way.
Unfortunately, I'm cutting my teeth and resurrecting my C skills at the
same time. I'm groping a little. I always hated the "I'm a Newbie with
Perl and I don't know what to do - posts". Now I'm victemizing you with
them :)
Thanks for the patients.
> for UNIX for at least the last decade.
>
> If you are using UNIX, type "man strdup", and you should find it. It
> fits in with strcpy(), strcmp(), etc., which un-coincidentally, is
> exactly where GLIB has placed it.
>
Thanks
Reuvain ---
--
__________________________
Brooklyn Linux Solutions
__________________________
http://www.mrbrklyn.com - Consulting
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/mp3/dr.mp3 - Imagine my surprise when I saw you...
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
1-718-382-5752
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]