diff options
author | Matthias Benkard <mulk@Minimulk.local> | 2008-08-24 17:03:33 +0200 |
---|---|---|
committer | Matthias Benkard <mulk@Minimulk.local> | 2008-08-24 17:03:33 +0200 |
commit | 3fd292f83ef33f8052feb22eb133d37913d33c66 (patch) | |
tree | 67ce92a5dc1e374e67c097ffcbf0c78008ab2271 /MLKForm.m | |
parent | f4240af04599a9b25645ecae78e5a45b46247cca (diff) |
Refactor the interpreter so as to build upon the MLKForm class cluster.
The transition is not finished yet, so lots of things are broken right now.
Diffstat (limited to 'MLKForm.m')
-rw-r--r-- | MLKForm.m | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -18,7 +18,7 @@ #import "MLKCons.h" #import "MLKForm.h" -#import "MLKLLVMCompiler.h" +#import "MLKInterpreter.h" #import "util.h" #import "special-symbols.h" @@ -361,11 +361,11 @@ int i; self = [super complete]; - LASSIGN (_foreignName, [[_tail cdr] car]); - LASSIGN (_name, [_tail car]); - _returnType = MLKForeignTypeWithTypeDesignator ([[[_tail cdr] cdr] car]); + LASSIGN (_foreignName, [_tail car]); + LASSIGN (_foreignLibraryDesignator, [[_tail cdr] car]); + _returnType = MLKForeignTypeWithTypeDesignator ([[[[_tail cdr] cdr] cdr] car]); - argtypes = [[[_tail cdr] cdr] cdr]; + argtypes = [[[_tail cdr] cdr] car]; _argc = [argtypes length]; _argumentTypes = malloc (_argc * sizeof (MLKForeignType)); |