summaryrefslogtreecommitdiff
path: root/libobjc/objc
Commit message (Collapse)AuthorAgeFilesLines
* * objc/hash.h (hash_string): Don't use a cast as an lvalue.jsm282003-10-201-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72722 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>neroden2003-05-2312-50/+50
| | | | | | | | | | | * 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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67131 138bc75d-0d04-0410-961f-82ee72b054a4
* libobjc/8562ljrittle2003-04-113-21/+21
| | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65461 138bc75d-0d04-0410-961f-82ee72b054a4
* Added comments to the definition of IMPnicola2002-09-121-1/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57072 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-02 Rodney Brown <rbrown64@csc.com.au>shebs2002-07-023-66/+66
| | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55190 138bc75d-0d04-0410-961f-82ee72b054a4
* * Object.m (forward, read, write): Fix unused parameter warnings.ghazi2002-06-211-2/+3
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54884 138bc75d-0d04-0410-961f-82ee72b054a4
* * Object.m: Fix signed/unsigned warning.ghazi2002-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54649 138bc75d-0d04-0410-961f-82ee72b054a4
* PR objc/6107hp2002-04-091-2/+2
| | | | | | | | * objc/objc-api.h (struct objc_protocol_list): Change type of member count from int to size_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52058 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-07 Aldy Hernandez <aldyh@redhat.com>aldyh2001-11-081-0/+1
| | | | | | | | | * objc-api.h (_C_VECTOR): New. * encoding.c (VECTOR_TYPE): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46849 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed object_is_class and object_is_metaclassnicola2001-07-161-7/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44039 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>shebs2001-03-151-0/+2
| | | | | | | | | | * thr.c (objc_thread_add): New function. (objc_thread_remove): Ditto. * objc/thr.h: Declare them. * libobjc.def: Mention them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40479 138bc75d-0d04-0410-961f-82ee72b054a4
* Added __objc_msg_forward, a hook that allows external libraries toovidiu2001-01-031-0/+7
| | | | | | | | | 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.) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38651 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/hash.h: Include string.h.ghazi2000-07-131-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35019 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Protocol.h, objc/objc-list.h: Change #endif labels tozack2000-03-292-2/+2
| | | | | | | comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32812 138bc75d-0d04-0410-961f-82ee72b054a4
* * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.law1998-10-081-2/+4
| | | | | | | | | (objc_get_type_qualifiers): Similarly. * objc/encoding.h (_C_BYREF): Define. (_F_BYREF): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22917 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/sarray.h: Make boffset be an unsigned long when sparc so itdavem1998-10-071-1/+1
| | | | | | | works out on 64-bit systems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22881 138bc75d-0d04-0410-961f-82ee72b054a4
* * All .h files pushed down into the objc/ subdirectory.law1998-09-3012-0/+2031
* Makefile.in (copy_headers): Corresponding changes. * configure.in (AC_INIT): Corresponding changes. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22664 138bc75d-0d04-0410-961f-82ee72b054a4