Skip to content
This repository
Browse code

Removed LARGE_ID_TEST

  • Loading branch information...
commit 6bd7d50f4e89ba2a438aa3ca7936de0f55822de6 1 parent 44f0930
Steve Streza authored May 23, 2010
4  MGTwitterEngine.m
@@ -1852,10 +1852,6 @@ - (NSString *)getSearchResultsForQuery:(NSString *)query sinceID:(MGTwitterEngin
1852 1852
 
1853 1853
 - (NSString *)getSearchResultsForQuery:(NSString *)query sinceID:(MGTwitterEngineID)sinceID startingAtPage:(int)page count:(int)count geocode:(NSString *)geocode
1854 1854
 {
1855  
-#if LARGE_ID_TEST
1856  
-	if (sinceID > 0) sinceID -= 0x7fffffff;
1857  
-#endif
1858  
-
1859 1855
     NSString *path = [NSString stringWithFormat:@"search.%@", API_FORMAT];
1860 1856
     
1861 1857
     NSMutableDictionary *params = [NSMutableDictionary dictionaryWithCapacity:0];
20  MGTwitterEngineGlobalHeader.h
@@ -51,26 +51,6 @@
51 51
 #define YAJL_AVAILABLE 0
52 52
 #define TOUCHJSON_AVAILABLE 0
53 53
 
54  
-#if YAJL_AVAILABLE
55  
-	/*
56  
-	 When enabled, this definition artificially adds 0x7ffffff to each tweet ID that is read from the API. It
57  
-	 also subtracts 0x7fffffff from anything it sends back to the API. This allows you to test your application
58  
-	 code and make sure it works well with large unsigned longs. This is important because tweet IDs that are
59  
-	 treated as signed integers will become negative after 2^32 - 1 (0x7fffffff). This will happen sometime
60  
-	 around the end of May 2009.
61  
-	 
62  
-	 A future release of MGTwitterEngine will use 64-bit integers for the tweet IDs. The current change is
63  
-	 meant as a stopgap measure that will affect existing applications as little as possible.
64  
-	*/
65  
-
66  
-	#define LARGE_ID_TEST 0
67  
-#else
68  
-	/*
69  
-	 This option is only available when you are using the YAJL parser. Do not change the following definition.
70  
-	*/
71  
-	#define LARGE_ID_TEST 0
72  
-#endif
73  
-
74 54
 #ifndef __MGTWITTERENGINEID__
75 55
 #define __MGTWITTERENGINEID__
76 56
 typedef unsigned long long MGTwitterEngineID;

0 notes on commit 6bd7d50

Please sign in to comment.
Something went wrong with that request. Please try again.