Re: Associating Strings and Variables



Christ, Bryan wrote:
> I really hate to re-invent the wheel if someone has already done this.
> The idea here is that I can store a value in one function and recall it
> later from somewhere else just by a string reference.

That's what hash tables are for... Look for g_hash_* .

There should be something else, too (quarks?), but I don't remember
exactly, now.

BYtE,
 Diego.




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