do not redefine GHashTable

This commit is contained in:
Nguyen Anh Quynh 2016-12-20 00:19:13 +08:00
parent 5e217a2490
commit 16bbe4fb88
1 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ typedef struct _KeyValue {
void *value; void *value;
} KeyValue; } KeyValue;
typedef struct _GHashTable { struct _GHashTable {
GHashFunc hash_func; GHashFunc hash_func;
GEqualFunc key_equal_func; GEqualFunc key_equal_func;
GDestroyNotify key_destroy_func; GDestroyNotify key_destroy_func;
@ -392,7 +392,7 @@ typedef struct _GHashTable {
uint32_t size; uint32_t size;
uint32_t num_entries; uint32_t num_entries;
GSList **buckets; GSList **buckets;
} GHashTable; };
void g_hash_table_destroy(GHashTable *hash_table) void g_hash_table_destroy(GHashTable *hash_table)
{ {