diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2011-09-09 22:00:25 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2011-09-09 22:00:25 +0000 |
commit | f7f3e433ffb6b13ef738737e3b61f657191fd93f (patch) | |
tree | 164e7c462788460e5eb65e8523524e93dbd51d0b /Foundation/GTMNSDictionary+CaseInsensitive.h | |
parent | e4c73da9b59d0b558d96c31968cd0787622c2ef6 (diff) |
[Author: dmaclach]
Clean up clang issues in GTM. The one in GTMABAddressBook is a weird one, that I'll try and file a bug on.
R=thomasvl
DELTA=92 (53 added, 6 deleted, 33 changed)
Diffstat (limited to 'Foundation/GTMNSDictionary+CaseInsensitive.h')
-rw-r--r-- | Foundation/GTMNSDictionary+CaseInsensitive.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Foundation/GTMNSDictionary+CaseInsensitive.h b/Foundation/GTMNSDictionary+CaseInsensitive.h index a31e81c..890af4b 100644 --- a/Foundation/GTMNSDictionary+CaseInsensitive.h +++ b/Foundation/GTMNSDictionary+CaseInsensitive.h @@ -17,6 +17,7 @@ // #import <Foundation/Foundation.h> +#import "GTMDefines.h" /// Utility for building case-insensitive NSDictionary objects. @interface NSDictionary (GTMNSDictionaryCaseInsensitiveAdditions) @@ -34,7 +35,8 @@ /// [NSDictionary gtm_dictionaryWithDictionaryCaseInsensitive: /// [response allHeaderFields]]; /// NSString *contentType = [headers objectForKey:@"Content-Type"]; -- (id)gtm_initWithDictionaryCaseInsensitive:(NSDictionary *)dictionary; +- (id)gtm_initWithDictionaryCaseInsensitive:(NSDictionary *)dictionary + NS_RETURNS_RETAINED NS_CONSUMES_SELF; /// Returns a newly created and autoreleased NSDictionary object as above. + (id)gtm_dictionaryWithDictionaryCaseInsensitive:(NSDictionary *)dictionary; |