mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user