(chise_name_table_put): Use <const unsigned char*> instead of
authortomo <tomo>
Thu, 28 Aug 2003 16:14:20 +0000 (16:14 +0000)
committertomo <tomo>
Thu, 28 Aug 2003 16:14:20 +0000 (16:14 +0000)
<unsigned char*> for key.
(chise_name_table_get): Likewise.

chise-name.h

index 6c469ed..2ce219c 100644 (file)
@@ -10,8 +10,8 @@ typedef CHISE_HASH_TABLE_ENTRY CHISE_NAME_TABLE_ENTRY;
 CHISE_NAME_TABLE* chise_make_name_table ();
 void chise_destroy_name_table (CHISE_NAME_TABLE* table);
 int chise_name_table_put (CHISE_NAME_TABLE* table,
-                         unsigned char *key, void *value);
-void* chise_name_table_get (CHISE_NAME_TABLE* table, unsigned char *key);
+                         const unsigned char *key, void *value);
+void* chise_name_table_get (CHISE_NAME_TABLE* table, const unsigned char *key);
 int chise_name_table_grow (CHISE_NAME_TABLE* table);
 
 #endif /* !_CHISE_NAME_H */