aboutsummaryrefslogtreecommitdiff
path: root/libobjc/init.c
AgeCommit message (Collapse)AuthorFilesLines
2005-08-17All files: Update FSF address.Kelley Cook1-1/+1
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * All files: Update FSF address. From-SVN: r103197
2005-06-07archive.c, [...]: Include hash.h.David Ayers1-1/+1
2005-06-07 David Ayers <d.ayers@inode.at> * archive.c, init.c, selector.c: Include hash.h. * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c, init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c: Include Objective-C headers with quotes and objc/ directory prefix. From-SVN: r100723
2005-03-02re PR libobjc/19024 (name collisions libobjc/libmysqlclient)David Ayers1-4/+7
2005-03-02 David Ayers <d.ayers@inode.at> 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
2003-05-23hash.c, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode1-4/+4
* hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m, makefile.dos, misc.c, nil_method.c, objects.c, sarray.c, selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c: Replace "GNU CC" with "GCC". From-SVN: r67134
2003-05-15Fixed getting the superclass when building class tree used for +load, wouldRichard Frith-Macdonald1-10/+47
cause extremely rare crashes Co-Authored-By: Nicola Pero <n.pero@mi.flashnet.it> From-SVN: r66822
2002-07-02encoding.h: Fix formatting.Rodney Brown1-177/+195
2002-07-02 Rodney Brown <rbrown64@csc.com.au> * objc/encoding.h: Fix formatting. * objc/hash.h: Likewise. * objc/objc-api.h: Likewise. * objc/runtime.h: Likewise. * objc/thr.h: Likewise. * archive.c: Likewise. * class.c: Likewise. * encoding.c: Likewise. * gc.c: Likewise. * hash.c: Likewise. * init.c: Likewise. * misc.c: Likewise. * nil_method.c: Likewise. * objects.c: Likewise. * sarray.c: Likewise. * selector.c: Likewise. * sendmsg.c: Likewise. * thr-mach.c: Likewise. * thr.c: Likewise. From-SVN: r55190
2002-06-15Object.m: Fix signed/unsigned warning.Kaveh R. Ghazi1-3/+5
* Object.m: Fix signed/unsigned warning. * Protocol.m: Likewise. * archive.c: Always include stdlib.h. (objc_read_short, objc_read_unsigned_short, objc_read_int, objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong): Fix signed/unsigned warning. (objc_write_type, objc_read_type, objc_write_types, objc_read_types): Ensure ctype 8-bit safety. (__objc_no_write, __objc_no_read): Mark unused parameters. * class.c (class_table_setup): Specify void arg. * encoding.c (atoi, objc_sizeof_type, objc_alignof_type, objc_skip_typespec, objc_skip_offset, objc_layout_structure_next_member): Ensure ctype 8-bit safety. (objc_layout_structure_next_member): Ensure variables are initialized. * gc.c (__objc_generate_gc_type_description, class_ivar_set_gcinvisible): Mark unused parameters. * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark unused parameters. (__objc_init_protocols) Fix signed/unsigned warning. * nil_method.c (nil_method): Mark unused parameters. * thr.h (objc_thread_callback): Specify void arg. * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix signed/unsigned warning. (sarray_free): Fix formatting. * selector.c (sel_types_match): Ensure ctype 8-bit safety. * sendmsg.c (__objc_init_install_dtable) Mark unused parameters. From-SVN: r54649
2001-12-17Fixed bug in loading of categories under certain special circumstancesNicola Pero1-3/+3
From-SVN: r48110
2001-06-08init.c (__objc_send_message_in_list): When setting a new entry in ↵Richard Frith-Macdonald1-5/+5
__objc_load_methods use the method IMP as key... 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org> * init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key, but check to see if the method is in the hashtable by looking at the IMP also. Also ... call the method after adding it to the hashtable rather than before ... thus preventing an obscure possibility of infinite recursion if a +load method itself loads a subclass. From-SVN: r43052
2001-05-25(__objc_send_message_in_list): When setting a new entry in ↵Ovidiu Predescu1-1/+1
__objc_load_methods use the method name as key... (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key, not the method IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>). From-SVN: r42561
1999-06-20init.c (__objc_force_linking): Make global.John David Anglin1-5/+5
� * init.c (__objc_force_linking): Make global. From-SVN: r27638
1998-09-211998-09-21 Ben Elliston <bje@cygnus.com>Ben Elliston1-0/+834
* New directory. Moved files from ../gcc/objc. From-SVN: r22514