Author: theraven
Date: Mon Jan 25 16:35:08 2010
New Revision: 29401

URL: http://svn.gna.org/viewcvs/gnustep?rev=29401&view=rev
Log:
Made Object less magic.  For now, because there are some weird people who want 
to use Objective-C without Foundation, Object is still included.  If you 
compile without defining GNUSTEP (which GNUstep Make does automatically) then 
you get the old behaviour.  If you build with GNUSTEP defined:

+load will not be sent until both NSObject and NSConstantString have been seen.
NSObject will be set as the superclass for all metaclasses, not Object.

This is in line with Cocoa and should make it a bit easier for people porting 
code who have categories on NSObject and are confused that they don't work as 
expected.  

Object and NXConstantString are now deprecated.  They're staying here because I 
use them for producing reduced test cases for the runtime and compiler, but 
they shouldn't be used.  I will probably remove them from the default build 
soon.


Added:
    libs/libobjc2/trunk/magic_objects.h
Modified:
    libs/libobjc2/trunk/class.c
    libs/libobjc2/trunk/init.c


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to