diff options
Diffstat (limited to 'MLKDynamicContext.m')
-rw-r--r-- | MLKDynamicContext.m | 13 |
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); |