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:
rfm 2010-02-22 10:13:20 +00:00
parent 9d46c5fd18
commit 53beb40301
39 changed files with 381 additions and 333 deletions

View file

@ -89,7 +89,7 @@
*/
if (GSObjCIsInstance(_myTarget))
{
if ((uintptr_t)GSObjCClass(_myProtocol) == 0x2)
if ((uintptr_t)object_getClass(_myProtocol) == 0x2)
{
mth = GSDescriptionForInstanceMethod(_myProtocol, aSelector);
}
@ -100,7 +100,7 @@
}
else
{
if ((uintptr_t)GSObjCClass(_myProtocol) == 0x2)
if ((uintptr_t)object_getClass(_myProtocol) == 0x2)
{
mth = GSDescriptionForClassMethod(_myProtocol, aSelector);
}
@ -196,7 +196,7 @@
* signature of methodSignatureForSelector:, so we hack in
* the signature required manually :-(
*/
if (sel_eq(aSelector, _cmd))
if (sel_isEqual(aSelector, _cmd))
{
static NSMethodSignature *sig = nil;
@ -225,7 +225,7 @@
return [NSMethodSignature signatureWithObjCTypes: types];
}
c = GSObjCClass(self);
c = object_getClass(self);
mth = GSGetMethod(c, aSelector, YES, YES);
if (mth == 0)
{