summaryrefslogtreecommitdiff
path: root/MLKDynamicContext.m
diff options
context:
space:
mode:
Diffstat (limited to 'MLKDynamicContext.m')
-rw-r--r--MLKDynamicContext.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/MLKDynamicContext.m b/MLKDynamicContext.m
index 6bfd03a..6d135a4 100644
--- a/MLKDynamicContext.m
+++ b/MLKDynamicContext.m
@@ -264,6 +264,11 @@ static MLKDynamicContext *global_context;
return self;
}
++(MLKDynamicContext *) globalContext
+{
+ return global_context;
+}
+
-(MLKDynamicContext *) pushContext
{
[[[NSThread currentThread] threadDictionary] setObject:self