([NSTimer -compare:]): New method, so they get properly sorted in a

Heap in RunLoop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2041 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1997-01-11 21:35:35 +00:00
parent 27ad4790b3
commit 61ba3d1097

View file

@ -149,4 +149,8 @@
return _info;
}
- (int)compare:(NSTimer*)anotherTimer
{
return [_fire_date compare: anotherTimer->_fire_date];
}
@end