mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
perform: has changed to performSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3024 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9c30d5603e
commit
8eea5697a0
2 changed files with 4 additions and 4 deletions
|
@ -122,9 +122,9 @@ int main(int argc, char *argv[])
|
|||
dbl_ptr = [p doDoublePointer:&dbl];
|
||||
printf(">>got double %f from server\n", *dbl_ptr);
|
||||
[p sendCharPtrPtr:&string];
|
||||
/* testing "-perform:" */
|
||||
if (p != [p perform:sel_get_any_uid("self")])
|
||||
[NSObject error:"trying perform:"];
|
||||
/* testing "-performSelector:" */
|
||||
if (p != [p performSelector:sel_get_any_uid("self")])
|
||||
[NSObject error:"trying performSelector:"];
|
||||
/* testing "bycopy" */
|
||||
/* reverse the order on these next two and it doesn't crash,
|
||||
however, having manyArgs called always seems to crash.
|
||||
|
|
|
@ -130,7 +130,7 @@ main()
|
|||
{
|
||||
int compare(id elem1, id elem2, void* context)
|
||||
{
|
||||
return (int)[elem1 perform:@selector(compare:) withObject:elem2];
|
||||
return (int)[elem1 performSelector:@selector(compare:) withObject:elem2];
|
||||
}
|
||||
|
||||
// Deriving new arrays
|
||||
|
|
Loading…
Reference in a new issue