aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPConstants.m')
-rw-r--r--Source/SPConstants.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPConstants.m b/Source/SPConstants.m
index 23d8c378..292acb3c 100644
--- a/Source/SPConstants.m
+++ b/Source/SPConstants.m
@@ -417,3 +417,7 @@ NSString *SPURLSchemeQueryInputPathHeader = @"/tmp/SP_QUERY_";
NSString *SPURLSchemeQueryResultPathHeader = @"/tmp/SP_QUERY_RESULT_";
NSString *SPURLSchemeQueryResultStatusPathHeader = @"/tmp/SP_QUERY_RESULT_STATUS_";
NSString *SPURLSchemeQueryResultMetaPathHeader = @"/tmp/SP_QUERY_META_";
+
+void inline _SPClear(id *addr) {
+ [*addr release], *addr = nil;
+}