hi,
is there any example or tutorial for using glib.HashTable.
public this (GHashTable* gHashTable, bool ownedRef = false);
public this(GHashFunc hashFunc, GEqualFunc keyEqualFunc);
HashTable has above kind of constructor.
and insert method:
bool insert (void* key, void* value);
and the looking method:
void* lookup (void* key);
All the method and param is C kind of pointer, I'm confused.
the C code is like this:
GHashTable *table = NULL;
table = g_hash_table_new(g_str_hash, g_str_equal);
any help? Thanks!