Skip to content

Commit

Permalink
Remove this crap
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirek Rusin authored and Mirek Rusin committed Feb 18, 2011
1 parent 42e5417 commit d944340
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions CoreJSON/CoreJSON.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,6 @@ inline CFIndex JSONRelease(CoreJSONRef json) {
return retainCount;
}

inline CoreJSONRef JSONReleaseRef(CoreJSONRef *json) {
if (0 == JSONRelease(*json))
json = NULL;
return *json;
}

inline void JSONParseWithString(CoreJSONRef json, CFStringRef string) {

// Let's make sure we've got a clean plate first
Expand Down
1 change: 0 additions & 1 deletion CoreJSON/CoreJSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,3 @@ extern CoreJSONRef JSONCreateWithString (CFAllocatorRef allocator, CFStringRef s
extern void JSONParseWithString (CoreJSONRef json, CFStringRef string);
extern CFTypeRef JSONGetObject (CoreJSONRef json);
extern CFIndex JSONRelease (CoreJSONRef json);
inline CoreJSONRef JSONReleaseRef (CoreJSONRef *json);

0 comments on commit d944340

Please sign in to comment.