Revision: 5910
http://skim-app.svn.sourceforge.net/skim-app/?rev=5910&view=rev
Author: hofman
Date: 2009-10-19 14:15:26 +0000 (Mon, 19 Oct 2009)
Log Message:
-----------
use pointer typedef
Modified Paths:
--------------
trunk/NSPointerArray_SKExtensions.m
Modified: trunk/NSPointerArray_SKExtensions.m
===================================================================
--- trunk/NSPointerArray_SKExtensions.m 2009-10-19 11:12:21 UTC (rev 5909)
+++ trunk/NSPointerArray_SKExtensions.m 2009-10-19 14:15:26 UTC (rev 5910)
@@ -47,7 +47,7 @@
static NSString *rectDescriptionFunction(const void *item) { return
NSStringFromRect(*(NSRectPointer)item); }
-static NSString *rangeDescriptionFunction(const void *item) { return [NSString
stringWithFormat:@"(%lu, %lu)", (unsigned long)((*(NSRange *)item).location),
(unsigned long)((*(NSRange *)item).length)]; }
+static NSString *rangeDescriptionFunction(const void *item) { return [NSString
stringWithFormat:@"(%lu, %lu)", (unsigned long)(((NSRange *)item)->location),
(unsigned long)(((NSRange *)item)->length)]; }
+ (id)rectPointerArray { return [[[self alloc] initForRectPointers]
autorelease]; }
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit