Differences From Artifact [67a0ee932e]:
- File src/runtime/amiga-glue.m — part of check-in [f2fe8f96d5] at 2020-01-02 22:16:48 on branch trunk — Move autorelease pools to runtime (user: js, size: 15293) [annotate] [blame] [check-ins using] [more...]
To Artifact [5dde941d59]:
- File
src/runtime/amiga-glue.m
— part of check-in
[49aee5736e]
at
2020-01-25 20:04:54
on branch trunk
— tlskey.m: Use hashtable from runtime on AmigaOS
tlskey.m used OFMapTable only on AmigaOS. This became a problem when
autorelease pools were moved into the runtime, as autorelease pools use
TLS. The build then broke, as there suddenly was a dependency from the
runtime on ObjFW.This now uses the hashtable from the runtime and also no longer uses
OFList, thus fixing the build. As we always use the runtime on AmigaOS
anyway, this is fine. (user: js, size: 16513) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
745 746 747 748 749 750 751 | id __saveds glue__objc_rootAutorelease PPC_PARAMS(id object) { M68K_ARG(id, object, a0) return _objc_rootAutorelease(object); } | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 | id __saveds glue__objc_rootAutorelease PPC_PARAMS(id object) { M68K_ARG(id, object, a0) return _objc_rootAutorelease(object); } struct objc_hashtable *__saveds glue_objc_hashtable_new PPC_PARAMS(objc_hashtable_hash_func hash, objc_hashtable_equal_func equal, uint32_t size) { M68K_ARG(objc_hashtable_hash_func, hash, a0) M68K_ARG(objc_hashtable_equal_func, equal, a1) M68K_ARG(uint32_t, size, d0) return objc_hashtable_new(hash, equal, size); } void __saveds glue_objc_hashtable_set PPC_PARAMS(struct objc_hashtable *table, const void *key, const void *object) { M68K_ARG(struct objc_hashtable *, table, a0) M68K_ARG(const void *, key, a1) M68K_ARG(const void *, object, a2) objc_hashtable_set(table, key, object); } void *__saveds glue_objc_hashtable_get PPC_PARAMS(struct objc_hashtable *table, const void *key) { M68K_ARG(struct objc_hashtable *, table, a0) M68K_ARG(const void *, key, a1) return objc_hashtable_get(table, key); } void __saveds glue_objc_hashtable_delete PPC_PARAMS(struct objc_hashtable *table, const void *key) { M68K_ARG(struct objc_hashtable *, table, a0) M68K_ARG(const void *, key, a1) objc_hashtable_delete(table, key); } void __saveds glue_objc_hashtable_free PPC_PARAMS(struct objc_hashtable *table) { M68K_ARG(struct objc_hashtable *, table, a0) objc_hashtable_free(table); } |