deprecates some gnustep runtime wrappers

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29697 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-22 10:13:20 +00:00
parent 80be6b9067
commit 8769dd8b6f
39 changed files with 381 additions and 333 deletions

View file

@ -218,7 +218,7 @@ static inline void setup()
- (Class) class
{
return GSObjCSuper(GSObjCClass(self));
return class_getSuperclass(object_getClass(self));
}
- (void) setValue: (id)anObject forKey: (NSString*)aKey
@ -299,7 +299,7 @@ static inline void setup()
- (Class) superclass
{
return GSObjCSuper(GSObjCSuper(GSObjCClass(self)));
return class_getSuperclass(class_getSuperclass(object_getClass(self)));
}
@end
@ -309,7 +309,7 @@ static inline void setup()
*/
static NSString *newKey(SEL _cmd)
{
const char *name = GSNameFromSelector(_cmd);
const char *name = sel_getName(_cmd);
unsigned len = strlen(name);
NSString *key;
unsigned i;