mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
* EOControl/EOGenericRecord.m
(-[_infoForInstanceVariableNamed:retType:retSize:retOffset:]): Replace usage of deprecated GSFindInstanceVariable with GSObjCFindVariable. (-[_getValueForKey:selector:type:size:offset:]): Replace usage of deprecated GSGetValue with GSObjCGetValue. (-[_setValueForKey:object:selector:type:size:offset:]): Replace usage of deprecated GSSetValue with GSObjCSetValue. * EOControl/EOFault.m (+/-[respondsToSelector:]): Replace usage of deprecated GSGetInstanceMethod with GSGetMethod. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20026 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b4bbc505d5
commit
cf8a35f00b
3 changed files with 19 additions and 6 deletions
14
ChangeLog
14
ChangeLog
|
@ -21,7 +21,19 @@
|
|||
|
||||
* EOAccess/EOStoredProcedure.m
|
||||
(-[initWithPropertyList:]): Make return type explicit.
|
||||
|
||||
|
||||
* EOControl/EOGenericRecord.m
|
||||
(-[_infoForInstanceVariableNamed:retType:retSize:retOffset:]):
|
||||
Replace usage of deprecated GSFindInstanceVariable with
|
||||
GSObjCFindVariable.
|
||||
(-[_getValueForKey:selector:type:size:offset:]): Replace
|
||||
usage of deprecated GSGetValue with GSObjCGetValue.
|
||||
(-[_setValueForKey:object:selector:type:size:offset:]): Replace
|
||||
usage of deprecated GSSetValue with GSObjCSetValue.
|
||||
|
||||
* EOControl/EOFault.m (+/-[respondsToSelector:]): Replace usage
|
||||
of deprecated GSGetInstanceMethod with GSGetMethod.
|
||||
|
||||
2004-06-23 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOAccess/EOAccessFault.m: Include privat headers locally.
|
||||
|
|
|
@ -140,7 +140,7 @@ static Class EOFaultClass = NULL;
|
|||
|
||||
+ (BOOL)respondsToSelector: (SEL)sel
|
||||
{
|
||||
return (GSGetInstanceMethod(self, sel) != (GSMethod)0);
|
||||
return (GSGetMethod(self, sel, NO, YES) != (GSMethod)0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -326,7 +326,8 @@ static Class EOFaultClass = NULL;
|
|||
NSDebugFLLog(@"gsdb", @"class=%@ aSelector=%@", class,
|
||||
NSStringFromSelector(aSelector));
|
||||
|
||||
respondsToSelector = (GSGetInstanceMethod(class, aSelector) != (GSMethod)0);
|
||||
respondsToSelector
|
||||
= (GSGetMethod(class, aSelector, YES, YES) != (GSMethod)0);
|
||||
NSDebugFLLog(@"gsdb", @"STOP self=%p", self);
|
||||
|
||||
return respondsToSelector;
|
||||
|
|
|
@ -213,7 +213,7 @@ static const char _c_id[2] = { _C_ID, 0 };
|
|||
retSize:size
|
||||
retOffset:offset];
|
||||
*/
|
||||
ok = GSFindInstanceVariable(self, [name cString], type, size, offset);
|
||||
ok = GSObjCFindVariable(self, [name cString], type, size, offset);
|
||||
|
||||
EOFLOGObjectLevelArgs(@"EOGenericRecordKVC",
|
||||
@"Super InstanceVar named %@:%s",
|
||||
|
@ -279,7 +279,7 @@ static const char _c_id[2] = { _C_ID, 0 };
|
|||
size:size
|
||||
offset:offset];*/
|
||||
|
||||
value = GSGetValue(self, aKey, sel, type, size, offset);
|
||||
value = GSObjCGetValue(self, aKey, sel, type, size, offset);
|
||||
EOFLOGObjectLevelArgs(@"EOGenericRecordKVC", @"value %p (class=%@)",
|
||||
value, [value class]);
|
||||
}
|
||||
|
@ -320,7 +320,7 @@ static const char _c_id[2] = { _C_ID, 0 };
|
|||
size:size
|
||||
offset:offset];
|
||||
*/
|
||||
GSSetValue(self, aKey, anObject, sel, type, size, offset);
|
||||
GSObjCSetValue(self, aKey, anObject, sel, type, size, offset);
|
||||
|
||||
EOFLOGObjectFnStopCond(@"EOGenericRecordKVC");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue