[Solved] Re: Sorting array : segmentation fault
[Solved] Re: Sorting array : segmentation fault
- Subject: [Solved] Re: Sorting array : segmentation fault
- From: "kubernan @ 10191 Tec." <email@hidden>
- Date: Mon, 18 Aug 2003 23:10:09 +0200
Le lundi, 18 ao{ 2003, ` 22:13 Europe/Paris, Ben Dougall a icrit :
<>
sortUsingFunction:'s return type is void. i think you're after this
method instead:
- (NSArray *)sortedArrayUsingFunction:(int (*)(id, id, void
*))comparator context:(void *)context
Ooops...of course ! Thx a lot.
K.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.