mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
80be6b9067
commit
8769dd8b6f
39 changed files with 381 additions and 333 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue