mojoshader_internal.h
changeset 733 1b6d68fabe46
parent 732 e070fea1f8c7
child 734 1f69fc50c79c
--- a/mojoshader_internal.h	Sun Apr 05 03:20:53 2009 -0400
+++ b/mojoshader_internal.h	Sun Apr 05 03:31:52 2009 -0400
@@ -132,13 +132,13 @@
 typedef int (*HashTable_KeyMatchFn)(const void *a, const void *b);
 typedef void (*HashTable_NukeFn)(const void *key, const void *value);
 
-int hash_init(HashTable *table, const uint32 initial_table_size,
+HashTable *hash_create(const uint32 initial_table_size,
               const HashTable_HashFn hashfn,
               const HashTable_KeyMatchFn keymatchfn,
               const HashTable_NukeFn nukefn,
               const int stackable,
               MOJOSHADER_malloc m, MOJOSHADER_free f, void *d);
-void hash_deinit(HashTable *table);
+void hash_destroy(HashTable *table);
 int hash_insert(HashTable *table, const void *key, const void *value);
 int hash_remove(HashTable *table, const void *key);
 int hash_find(const HashTable *table, const void *key, const void **_value);