Re: [gtk-list] Glib Development Questions
- From: David Benson <daveb idealab com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Glib Development Questions
- Date: Wed, 15 Dec 1999 07:09:55 -0800 (PST)
Yes, there is documentation:
http://developer.gnome.org/doc/API/glib/glib-hash-tables.html
etc...
On Tue, 14 Dec 1999, Alan Olsen wrote:
> I have a couple of questions on Glib.
>
> Is there documentation for Glib 1.2.x? (Something more than a listing of
> the function calls. This is a VERY handy base library, but having to
> decipher the functionality from the source has its limits.)
>
> What is the G_hash_foreach call used for? what kind of value is returned
> in the third parameter? Is it supposed to be a linked list? A pointer to an
> array? I guess this question goes for each of the _foreach calls.
>
> I have a couple of functions that I would like to add to the hash
> function. I will be testing them on the program I am using. When they are
> ready, who do i talk to about adding them to the main code tree. The hash
> functions are "g_hash_pop" (which returns the first element found in the
> hash and deletes it from the hash) and "g_hash_first" (which returns the
> first element on the hash without removing it from the stack). The reason
> for this is I am writing a piece of code that uses the hash as an array
> with no duplicated values. It is part of a routine I am porting from Perl.
>
> Any pointers to info is appreciated.
>
> Thanks!
>
> ---
> | Bill Clinton - Bringing back the Sixties one Nixon at a time! |
> |"The moral PGP Diffie taught Zimmermann unites all| Disclaimer: |
> | mankind free in one-key-steganography-privacy!" | Ignore the man |
> | | behind the keyboard.|
> | http://www.ctrl-alt-del.com/~alan/ |alan@ctrl-alt-del.com|
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]