@@ -1,8 +1,7 @@ -/* Functions that are only for the linklib. */ +/* The following function is only for the linklib. */ bool glue_objc_init(unsigned int, struct objc_libc *, FILE *, FILE *); -/* All other functions. */ void glue___objc_exec_class(struct objc_module *); IMP glue_objc_msg_lookup(id, SEL); IMP glue_objc_msg_lookup_stret(id, SEL); IMP glue_objc_msg_lookup_super(struct objc_super *, SEL); IMP glue_objc_msg_lookup_super_stret(struct objc_super *, SEL); @@ -77,5 +76,11 @@ char *glue_property_copyAttributeValue(objc_property_t, const char *); void *glue_objc_destructInstance(id); void *glue_objc_autoreleasePoolPush(void); void glue_objc_autoreleasePoolPop(void *); id glue__objc_rootAutorelease(id); +/* The following functions are private! Don't use! */ +struct objc_hashtable *glue_objc_hashtable_new(objc_hashtable_hash_func hash, objc_hashtable_equal_func equal, uint32_t size); +void glue_objc_hashtable_set(struct objc_hashtable *table, const void *key, const void *object); +void *glue_objc_hashtable_get(struct objc_hashtable *table, const void *key); +void glue_objc_hashtable_delete(struct objc_hashtable *table, const void *key); +void glue_objc_hashtable_free(struct objc_hashtable *table);