Inserting non-pod struct into a GHashTable
- by RikSaunderson
Hi there,
I'm trying to build a GHashTable of instances of a struct containing ints, a time_t and a few char*'s.
My question is, how do you insert an instance of a struct into a GHashTable? there are plenty of examples of how to insert a string or an int (using g_str_hash and g_int_hash respectively), but I'm guessing thatI want to use the…