Commit Graph

10 Commits

Author SHA1 Message Date
Andrew Pinski 9567d41559 Object.h: Move includes out of extern "C" blocks.
2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc/Object.h: Move includes out of extern "C" blocks.
        * objc/encoding.h: Likewise.
        * objc/hash.h: Likewise.
        * objc/objc-api.h: Likewise.
        * objc/runtime.h: Likewise.
        * objc/sarray.h: Likewise.
        * objc/typedstream.h: Likewise.

From-SVN: r85968
2004-08-13 15:23:58 -07:00
Ziemowit Laski 1a6213c3de NXConstStr.h: Update copyright date...
2004-08-12  Ziemowit Laski  <zlaski@apple.com>

        * objc/NXConstStr.h: Update copyright date; bracket with
        'extern "C"' for C++ use; make include syntax consistent
        by using <...> instead of "..."; hoist <objc/...> includes
        above the 'extern "C"' block.
        * objc/Object.h: Likewise.
        * objc/Protocol.h: Likewise.
        * objc/encoding.h: Likewise.
        * objc/hash.h: Likewise.
        * objc/runtime.h: Likewise.
        * objc/sarray.h: Likewise.
        * objc/thr.h: Likewise.
        * objc/typedstream.h: Likewise.
        * objc/objc-api.h: Add 'extern "C"' block for C++ use.
        (objc_static_instances): For C++ case, do away with
        zero-sized array.
        (objc_method): Hoist definition to file scope.
        (_objc_load_callback, _objc_object_alloc, class_get_class_method,
        class_get_instance_method, class_create_instance,
        class_get_class_name, class_get_instance_size,
        class_get_meta_class, class_get_super_class, class_get_version,
        class_is_class, class_is_meta_class, class_set_version,
        class_get_gc_object_type, class_ivar_set_gcinvisible,
        get_imp): Rename 'class' parameter to '_class'.
        * objc/objc-list.h: Add 'extern "C"' block for C++ use.
        * objc/objc.h: Update copyright date.
        (arglist_t): Provide a union tag.

From-SVN: r85927
2004-08-13 02:06:37 +00:00
Andrew Pinski 6f0aa5e195 encoding.h: Wrap the functions with extern "C" for C++ mode.
2004-06-24  Andrew Pinski  <apinski@apple.com>

        * objc/encoding.h: Wrap the functions with extern "C" for C++
        mode.
        * objc/hash.h: Likewise.
        * objc/objc-api.h: Likewise.
        * objc/objc-list.h: Likewise.
        * objc/runtime.h: Likewise.
        * objc/sarray.h: Likewise.
        * objc/thr.h: Likewise.
        * objc/typedstream.h: Likewise.

From-SVN: r83635
2004-06-24 21:31:51 -07:00
Ziemowit Laski d5e63fce33 hash.h (hash_string, [...]): Add type-casts to make Objective-C++ happy.
2004-03-05  Ziemowit Laski  <zlaski@apple.com>

        * objc/hash.h (hash_string, compare_strings):
        Add type-casts to make Objective-C++ happy.
        * objc/typedstream.h (objc_get_stream_class_version):
        Rename parameter from 'class' to 'class_name' to make
        Objective-C++ happy.

From-SVN: r78986
2004-03-05 21:06:57 +00:00
Joseph Myers beca20d2a0 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
From-SVN: r72722
2003-10-20 22:50:13 +01:00
Nathanael Nerode 6c82ad2561 Makefile.in, [...]: Replace "GNU CC" with "GCC".
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-05-23 20:04:58 +00:00
David Chad 0b87e18ef1 (in libobjc:)
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
2003-04-11 04:30:33 +00:00
Rodney Brown 40165636b5 encoding.h: Fix formatting.
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-07-02 19:43:03 +00:00
Kaveh R. Ghazi 8dd8d754d2 * objc/hash.h: Include string.h.
From-SVN: r35019
2000-07-13 18:56:49 +00:00
Jeffrey A Law 789eb4f550 * All .h files pushed down into the objc/ subdirectory.
* Makefile.in (copy_headers): Corresponding changes.
        * configure.in (AC_INIT): Corresponding changes.
        * configure: Rebuilt.

From-SVN: r22664
1998-09-30 02:17:56 -06:00