Use closure stuff for making built in *_rule functions, simplifying the code.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@990 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-06-18 22:17:56 +00:00
parent 296cf8197a
commit 864903bc0c
3 changed files with 49 additions and 51 deletions
+3
View File
@@ -70,6 +70,9 @@ class Context {
*/
int getVariableScope(Variable var);
/// Make a closure of the function with the direct parameters of the current call
ScriptValueP makeClosure(const ScriptValueP& fun);
private:
/// Open a new scope