From 270a1283e6ce05c38474011515817f7816c8adb7 Mon Sep 17 00:00:00 2001 From: David Ayers Date: Wed, 2 Mar 2005 20:37:03 +0100 Subject: re PR libobjc/19024 (name collisions libobjc/libmysqlclient) 2005-03-02 David Ayers PR libobjc/19024 * Makefile.in (OBJS): Add hash_compat.lo. (OBJS_GC): Add hash_compat_gc.lo. (hash_compat_gc.lo): New target and rule. * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove) (hash_next, hash_value_for_key, hash_is_key_in_hash) (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix with objc_. Add deprecated non prefixed inlined versions. (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated declarations. * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next) (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and update callers. * hash_compat.c: New file. * archive.c: Update callers. * init.c: Likewise. * selector.c: Likewise. * libobjc.def: Add objc_ versions of hash functions. From-SVN: r95793 --- libobjc/libobjc.def | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libobjc/libobjc.def') diff --git a/libobjc/libobjc.def b/libobjc/libobjc.def index 2443d4c7b4c..bd50959cf07 100644 --- a/libobjc/libobjc.def +++ b/libobjc/libobjc.def @@ -22,6 +22,7 @@ LIBRARY libobjc EXPORTS search_for_method_in_list objc_get_uninstalled_dtable +objc_hash_is_key_in_hash hash_is_key_in_hash objc_verror _objc_load_callback @@ -155,9 +156,15 @@ sarray_lazy_copy sarray_new sarray_realloc sarray_remove_garbage +objc_hash_add hash_add +objc_hash_delete hash_delete +objc_hash_new hash_new +objc_hash_next hash_next +objc_hash_remove hash_remove +objc_hash_value_for_key hash_value_for_key -- cgit v1.2.1