GQUARK type and related calls.



When 'g_quark_from_string ()' is first called it returns the value '1' and subsequent calls with unique string values increment by '1' from there.

Return values for unique strings 1, 2, 3, 4, ....

I'd like to rely on this behaviour, starting value = 1 and incrementing by 1, for my particular application.

Is this behaviour documented?  Can I rely on it in future releases of glib?

Best Regards

David Judkovics

dmjudkov us ibm com
Adv. Software Engineer
LTC xSeries Linux
IBM Server -- Endicott, NY
Tel: 607-429-4745 - Tie 620-4745









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