summaryrefslogtreecommitdiff
path: root/MLKDynamicContext.m
diff options
context:
space:
mode:
Diffstat (limited to 'MLKDynamicContext.m')
-rw-r--r--MLKDynamicContext.m13
1 files changed, 13 insertions, 0 deletions
diff --git a/MLKDynamicContext.m b/MLKDynamicContext.m
index d08deaa..63c8ad7 100644
--- a/MLKDynamicContext.m
+++ b/MLKDynamicContext.m
@@ -142,6 +142,19 @@
return nil;
}
+-(id) valueForBinding:(MLKSymbol *)symbol
+{
+ return [[[MLKDynamicContext currentContext] environment]
+ valueForBinding:symbol];
+}
+
+-(void) setValue:(id)value forBinding:(MLKSymbol *)symbol
+{
+ [[[MLKDynamicContext currentContext] environment]
+ setValue:value
+ forBinding:symbol];
+}
+
-(void) dealloc
{
RELEASE (_conditionHandlers);