Revision: 7827
http://skim-app.svn.sourceforge.net/skim-app/?rev=7827&view=rev
Author: amaxwell
Date: 2012-12-10 18:20:39 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Xcode 4 compiler refused to compile with inline alone
Modified Paths:
--------------
trunk/PDFDocument_SKExtensions.m
Modified: trunk/PDFDocument_SKExtensions.m
===================================================================
--- trunk/PDFDocument_SKExtensions.m 2012-12-10 18:10:36 UTC (rev 7826)
+++ trunk/PDFDocument_SKExtensions.m 2012-12-10 18:20:39 UTC (rev 7827)
@@ -150,14 +150,14 @@
return pageLabels;
}
-inline NSRange SKRangeBetweenRanges(NSRange startRange, NSRange endRange) {
+static inline NSRange SKRangeBetweenRanges(NSRange startRange, NSRange
endRange) {
NSRange r;
r.location = NSMaxRange(startRange);
r.length = endRange.location - r.location;
return r;
}
-inline NSRange SKMakeRangeFromEnd(NSUInteger end, NSUInteger length) {
+static inline NSRange SKMakeRangeFromEnd(NSUInteger end, NSUInteger length) {
NSRange r;
if (end > length) {
r.location = end - length;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit