diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-15 12:48:38 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-15 12:48:38 +0200 |
commit | f5348e04a2d52fbf707a7def7ebcee944795dede (patch) | |
tree | 4363b366be3ba3c3e0d6185cbd35c46a90a90410 /MLKDynamicContext.m | |
parent | 77fd838075b8729e7911a522465e92eacf1e0545 (diff) |
MLKDynamicContext, MLKEnvironment: Add -addBinding:, -boundp:, and -makunbound:.
Diffstat (limited to 'MLKDynamicContext.m')
-rw-r--r-- | MLKDynamicContext.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/MLKDynamicContext.m b/MLKDynamicContext.m index 9b61bb6..5b44db7 100644 --- a/MLKDynamicContext.m +++ b/MLKDynamicContext.m @@ -157,6 +157,21 @@ [[self environment] addValue:value forBinding:symbol]; } +-(void) addBinding:(MLKSymbol *)symbol +{ + [[self environment] addBinding:symbol]; +} + +-(BOOL) boundp:(MLKSymbol *)symbol +{ + return [[self environment] boundp:symbol]; +} + +-(void) makunbound:(MLKSymbol *)symbol +{ + [[self environment] makunbound:symbol]; +} + -(void) dealloc { RELEASE (_conditionHandlers); |