summaryrefslogtreecommitdiff
path: root/MLKInterpreter.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-06-27 15:01:07 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-06-27 15:01:07 +0200
commitefad95ec36837acdcc1aa4012675aabf0b72c756 (patch)
tree28a1877f6dfa7f4106ab0663a6fb841e8fd9598f /MLKInterpreter.h
parent189d02b12aa33fc18eaff9558675d9fa9d6ba668 (diff)
MLKInterpreter: Correctly handle multiple values.
Diffstat (limited to 'MLKInterpreter.h')
-rw-r--r--MLKInterpreter.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/MLKInterpreter.h b/MLKInterpreter.h
index 8fcc1ec..c149389 100644
--- a/MLKInterpreter.h
+++ b/MLKInterpreter.h
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#import <Foundation/NSArray.h>
#import <Foundation/NSObject.h>
@class MLKLexicalContext, MLKLexicalEnvironment;
@@ -24,7 +25,7 @@
@interface MLKInterpreter : NSObject
+(void) initialize;
-+(id) eval:(id)program
- inLexicalContext:(MLKLexicalContext *)context
- withEnvironment:(MLKLexicalEnvironment *)lexenv;
++(NSArray*) eval:(id)program
+ inLexicalContext:(MLKLexicalContext *)context
+ withEnvironment:(MLKLexicalEnvironment *)lexenv;
@end