Glib Development Questions



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|



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]