aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc
AgeCommit message (Collapse)AuthorFilesLines
2003-05-23Makefile.in, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode12-50/+50
2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c, class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h, objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h, objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h, objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC". From-SVN: r67131
2003-04-11(in libobjc:)David Chad3-21/+21
libobjc/8562 (in libobjc:) * objc/hash.h (hash_string): Constify correctly. (compare_ptrs): Use direct compare. * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow. * objc/sarray.h: Global rename index to indx to avoid shadow. (in gcc/testsuite:) * objc.dg/headers.m: New test. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> From-SVN: r65461
2002-09-12Added comments to the definition of IMPNicola Pero1-1/+8
From-SVN: r57072
2002-07-02encoding.h: Fix formatting.Rodney Brown3-66/+66
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-21Object.m (forward, [...]): Fix unused parameter warnings.Kaveh R. Ghazi1-2/+3
* Object.m (forward, read, write): Fix unused parameter warnings. * encoding.c: Include <stdlib.h>. (target_flags): Mark with attribute unused. (atoi): Delete. * runtime.h (__objc_selector_max_index): Change to unsigned int. (__objc_generate_gc_type_description): Prototype. * selector.c (__objc_selector_max_index): Change to unsigned int. From-SVN: r54884
2002-06-15Object.m: Fix signed/unsigned warning.Kaveh R. Ghazi1-1/+1
* 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
2002-04-09re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures ↵Hans-Peter Nilsson1-2/+2
w/-m64) PR objc/6107 * objc/objc-api.h (struct objc_protocol_list): Change type of member count from int to size_t. From-SVN: r52058
2001-11-08objc-api.h (_C_VECTOR): New.Aldy Hernandez1-0/+1
2001-11-07 Aldy Hernandez <aldyh@redhat.com> * objc-api.h (_C_VECTOR): New. * encoding.c (VECTOR_TYPE): New. From-SVN: r46849
2001-07-16Fixed object_is_class and object_is_metaclassNicola Pero1-7/+9
From-SVN: r44039
2001-03-15thr.c (objc_thread_add): New function.Nicola Pero1-0/+2
2001-03-14 Nicola Pero <n.pero@mi.flashnet.it> * thr.c (objc_thread_add): New function. (objc_thread_remove): Ditto. * objc/thr.h: Declare them. * libobjc.def: Mention them. From-SVN: r40479
2001-01-03Added __objc_msg_forward...Ovidiu Predescu1-0/+7
Added __objc_msg_forward, a hook that allows external libraries to provide a function that returns the real forwarding function. This can alleviate problems __builtin_apply() and friends have on various platforms. (Solution suggested by Helge Hess.) From-SVN: r38651
2000-07-13* objc/hash.h: Include string.h.Kaveh R. Ghazi1-0/+1
From-SVN: r35019
2000-03-29Protocol.h, [...]: Change #endif labels to comments.Zack Weinberg2-2/+2
* objc/Protocol.h, objc/objc-list.h: Change #endif labels to comments. From-SVN: r32812
1998-10-08encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.Richard Frith-Macdonald1-2/+4
* encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF. (objc_get_type_qualifiers): Similarly. * objc/encoding.h (_C_BYREF): Define. (_F_BYREF): Define. From-SVN: r22917
1998-10-06sarray.h: Make boffset be an unsigned long when sparc so it works out on ↵David S. Miller1-1/+1
64-bit systems. * objc/sarray.h: Make boffset be an unsigned long when sparc so it works out on 64-bit systems. From-SVN: r22881
1998-09-30* All .h files pushed down into the objc/ subdirectory.Jeffrey A Law12-0/+2031
* Makefile.in (copy_headers): Corresponding changes. * configure.in (AC_INIT): Corresponding changes. * configure: Rebuilt. From-SVN: r22664