Include <NSString.h>

([NSObject -description]): Implemented.
([NSObject +description]): Implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@585 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-08-24 22:24:17 +00:00
parent a3ceff5654
commit 0a1f50d769

View file

@ -31,6 +31,7 @@
// #include <Foundation/NSCoder.h>
#include <Foundation/NSInvocation.h>
#include <Foundation/NSAutoreleasePool.h>
#include <Foundation/NSString.h>
#include <objects/collhash.h>
#include <objects/eltfuncs.h>
#include <limits.h>
@ -213,12 +214,12 @@ BOOL NSDecrementExtraRefCountWasZero(id anObject)
- (NSString*) description
{
return nil;
return [NSString stringWithCString: object_get_class_name(self)];
}
+ (NSString*) description
{
return nil;
return [NSString stringWithCString: class_get_class_name(self)];
}
+ (void) poseAsClass: (Class)aClassObject