mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
(OBJC_VERSION): Move define to where it is needed.
(Runtime documenation references): Update links. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19458 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bf51bd1b9b
commit
f554633dce
2 changed files with 11 additions and 9 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Source/Additions/GSObjCRuntime.m (BDBGPrintf) New macro.
|
||||
(GSObjCAddClassBehavior, GSObjCAddMethods): Use new macro.
|
||||
(OBJC_VERSION): Move define to where it is needed.
|
||||
(Runtime documenation references): Update links.
|
||||
|
||||
* Source/GSSet.m (-[GSMutableSet unionSet:]): Remove redundant
|
||||
test.
|
||||
|
|
|
@ -412,17 +412,10 @@ GSClassList(Class *buffer, unsigned int max, BOOL clearCache)
|
|||
return num;
|
||||
}
|
||||
|
||||
/*
|
||||
* NOTE - OBJC_VERSION needs to be defined to be the version of the
|
||||
* Objective-C runtime you are using. You can find this in the file
|
||||
* 'init.c' in the GNU objective-C runtime source.
|
||||
*/
|
||||
#define OBJC_VERSION 8
|
||||
|
||||
/** references:
|
||||
http://www.macdevcenter.com/pub/a/mac/2002/05/31/runtime_parttwo.html?page=1
|
||||
http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/9objc_runtime_reference/_Adding_Classes.html
|
||||
http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/9objc_runtime_reference/_Class_Defi__Structures.html
|
||||
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/9objc_runtime_reference/chapter_5_section_1.html
|
||||
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/9objc_runtime_reference/chapter_5_section_21.html
|
||||
ObjcRuntimeUtilities.m by Nicola Pero
|
||||
**/
|
||||
|
||||
|
@ -567,6 +560,13 @@ GSObjCAddClasses(NSArray *classes)
|
|||
}
|
||||
}
|
||||
#else
|
||||
/*
|
||||
* NOTE - OBJC_VERSION needs to be defined to be the version of the
|
||||
* Objective-C runtime you are using. You can find this in the file
|
||||
* 'init.c' in the GNU objective-C runtime source.
|
||||
*/
|
||||
#define OBJC_VERSION 8
|
||||
|
||||
void
|
||||
GSObjCAddClasses(NSArray *classes)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue