aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCSVParser.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-01-09 01:38:23 +0000
committerrowanbeentje <rowan@beent.je>2010-01-09 01:38:23 +0000
commit9004533ba1d84d670a77cbfc9eae401b66e9dd0e (patch)
tree8d16781c788a964e45102b66ffc04b77fa1fb9e9 /Source/SPCSVParser.h
parentfcb6ce6cbb0bd4179e22a3dd17dd12e4a3529cdd (diff)
downloadsequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.gz
sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.bz2
sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.zip
- Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for release builds, including a large number of 64bit compatibility upgrades and tweaks
- Upgrade RegexKitLite to 3.3
Diffstat (limited to 'Source/SPCSVParser.h')
-rw-r--r--Source/SPCSVParser.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/SPCSVParser.h b/Source/SPCSVParser.h
index 0f1a8a20..63f7fef5 100644
--- a/Source/SPCSVParser.h
+++ b/Source/SPCSVParser.h
@@ -52,11 +52,11 @@
{
NSMutableString *csvString;
- long trimPosition;
- long parserPosition;
- long totalLengthParsed;
- long csvStringLength;
- int fieldCount;
+ NSUInteger trimPosition;
+ NSUInteger parserPosition;
+ NSUInteger totalLengthParsed;
+ NSUInteger csvStringLength;
+ NSInteger fieldCount;
NSString *nullReplacementString;
NSString *fieldEndString;
@@ -67,10 +67,10 @@
NSString *escapedLineEndString;
NSString *escapedFieldQuoteString;
NSString *escapedEscapeString;
- int fieldEndLength;
- int lineEndLength;
- int fieldQuoteLength;
- int escapeLength;
+ NSInteger fieldEndLength;
+ NSInteger lineEndLength;
+ NSInteger fieldQuoteLength;
+ NSInteger escapeLength;
NSCharacterSet *skipCharacterSet;
NSScanner *csvScanner;
@@ -89,8 +89,8 @@
/* Basic information */
- (NSUInteger) length;
- (NSString *) string;
-- (long) parserPosition;
-- (long) totalLengthParsed;
+- (NSUInteger) parserPosition;
+- (NSUInteger) totalLengthParsed;
/* Setting the terminator, quote, escape and null character replacement strings */
- (void) setFieldTerminatorString:(NSString *)theString convertDisplayStrings:(BOOL)convertString;
@@ -102,7 +102,7 @@
/* Init and internal update methods */
- (void) _initialiseCSVParserDefaults;
- (void) _moveParserPastSkippableCharacters;
-- (long) _getDistanceToString:(NSString *)theString;
+- (NSUInteger) _getDistanceToString:(NSString *)theString;
- (void) _updateState;
- (NSString *) _convertDisplayString:(NSString *)theString;
- (void) _updateSkipCharacterSet;