From 6dead247c97de92dc042afc5ff360a7c983dc39d Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Sat, 11 Sep 2010 22:47:14 +0000 Subject: In libobjc/: * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way to check the API version. Added some comments. * objc-private/common.h: New file. * NXConstStr.m: Include objc-private/common.h. * Object.m: Same change. * Protocol.m: Same change. * archive.c: Same change. * class.c: Same change. * encoding.c: Same change. * exception.c: Same change. * gc.c: Same change. * hash.c: Same change. * init.c: Same change. * libobjc_entry.c: Same change. * linking.m: Same change. * misc.c: Same change (and added a comment). * nil_method.c: Same change. * objects.c: Same change. * sarray.c: Same change. * selector.c: Same change. * sendmsg.c: Same change. * thr.c: Same change. From-SVN: r164218 --- libobjc/objc/objc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'libobjc/objc') diff --git a/libobjc/objc/objc.h b/libobjc/objc/objc.h index 17ae49b..6c3214f 100644 --- a/libobjc/objc/objc.h +++ b/libobjc/objc/objc.h @@ -26,12 +26,27 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #ifndef __objc_INCLUDE_GNU #define __objc_INCLUDE_GNU +/* This file contains the definition of the basic types used by the + Objective-C language. It needs to be included to do almost + anything with Objective-C. +*/ + #ifdef __cplusplus extern "C" { #endif #include +/* The current version of the GNU Objective-C Runtime library in + compressed ISO date format. This should be updated any time a new + version is released with changes to the public API (there is no + need to update it if there were no API changes since the previous + release). This macro is only defined starting with the GNU + Objective-C Runtime shipped with GCC 4.6.0. If it is not defined, + it is either an older version of the runtime, or another runtime. +*/ +#define __GNU_LIBOBJC__ 20100911 + /* Definition of the boolean type. -- cgit v1.1