mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
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:
parent
a3ceff5654
commit
0a1f50d769
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue