Permalink
Browse files

Removed LARGE_ID_TEST

  • Loading branch information...
1 parent 44f0930 commit 6bd7d50f4e89ba2a438aa3ca7936de0f55822de6 @stevestreza stevestreza committed May 23, 2010
Showing with 0 additions and 24 deletions.
  1. +0 −4 MGTwitterEngine.m
  2. +0 −20 MGTwitterEngineGlobalHeader.h
View
@@ -1852,10 +1852,6 @@ - (NSString *)getSearchResultsForQuery:(NSString *)query sinceID:(MGTwitterEngin
- (NSString *)getSearchResultsForQuery:(NSString *)query sinceID:(MGTwitterEngineID)sinceID startingAtPage:(int)page count:(int)count geocode:(NSString *)geocode
{
-#if LARGE_ID_TEST
- if (sinceID > 0) sinceID -= 0x7fffffff;
-#endif
-
NSString *path = [NSString stringWithFormat:@"search.%@", API_FORMAT];
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithCapacity:0];
@@ -51,26 +51,6 @@
#define YAJL_AVAILABLE 0
#define TOUCHJSON_AVAILABLE 0
-#if YAJL_AVAILABLE
- /*
- When enabled, this definition artificially adds 0x7ffffff to each tweet ID that is read from the API. It
- also subtracts 0x7fffffff from anything it sends back to the API. This allows you to test your application
- code and make sure it works well with large unsigned longs. This is important because tweet IDs that are
- treated as signed integers will become negative after 2^32 - 1 (0x7fffffff). This will happen sometime
- around the end of May 2009.
-
- A future release of MGTwitterEngine will use 64-bit integers for the tweet IDs. The current change is
- meant as a stopgap measure that will affect existing applications as little as possible.
- */
-
- #define LARGE_ID_TEST 0
-#else
- /*
- This option is only available when you are using the YAJL parser. Do not change the following definition.
- */
- #define LARGE_ID_TEST 0
-#endif
-
#ifndef __MGTWITTERENGINEID__
#define __MGTWITTERENGINEID__
typedef unsigned long long MGTwitterEngineID;

0 comments on commit 6bd7d50

Please sign in to comment.