diff options
Diffstat (limited to 'libobjc/objc/runtime.h')
-rw-r--r-- | libobjc/objc/runtime.h | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h index 6e1f1ec..ab9926e 100644 --- a/libobjc/objc/runtime.h +++ b/libobjc/objc/runtime.h @@ -28,23 +28,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* This file declares the "modern" GNU Objective-C Runtime API. - Include this file to use it. - - This API is replacing the "traditional" GNU Objective-C Runtime API - (declared in objc/objc-api.h) which is the one supported by older - versions of the GNU Objective-C Runtime. The "modern" API is very - similar to the API used by the modern Apple/NeXT runtime. - - Because the two APIs have some conflicting definitions (in - particular, Method and Category are defined differently) you should - include either objc/objc-api.h (to use the traditional GNU - Objective-C Runtime API) or objc/runtime.h (to use the modern GNU - Objective-C Runtime API), but not both. -*/ -#ifdef __objc_api_INCLUDE_GNU -# error You can not include both objc/objc-api.h and objc/runtime.h. Include objc/objc-api.h for the traditional GNU Objective-C Runtime API and objc/runtime.h for the modern one. -#endif + This API replaced the "traditional" GNU Objective-C Runtime API + (which used to be declared in objc/objc-api.h) which is the one + supported by older versions of the GNU Objective-C Runtime. The + "modern" API is very similar to the API used by the modern + Apple/NeXT runtime. +*/ #include "objc.h" #include "objc-decls.h" |