aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-09 01:11:41 +0000
committerDavid Robillard <d@drobilla.net>2010-12-09 01:11:41 +0000
commit152c910f89e078099a5aba6d7d6f7fa28ceea2c3 (patch)
tree380b2ad500a05a48e8e378c280941d2f3497983b /src/resp.hpp
parente78acdecac3611299db12705c36bbc882efd42fe (diff)
downloadresp-152c910f89e078099a5aba6d7d6f7fa28ceea2c3.tar.gz
resp-152c910f89e078099a5aba6d7d6f7fa28ceea2c3.tar.bz2
resp-152c910f89e078099a5aba6d7d6f7fa28ceea2c3.zip
Consistent engine global[Set|Get] interface.
git-svn-id: http://svn.drobilla.net/resp/resp@321 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/resp.hpp')
-rw-r--r--src/resp.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resp.hpp b/src/resp.hpp
index 5f0899c..1d889e8 100644
--- a/src/resp.hpp
+++ b/src/resp.hpp
@@ -718,8 +718,8 @@ struct Engine {
virtual CVal compileCall(CEnv& cenv, CFunc f, const AType* fT, ValVec& args) = 0;
virtual CVal compileCons(CEnv& cenv, const AType* t, CVal rtti, ValVec& f) = 0;
virtual CVal compileDot(CEnv& cenv, CVal tup, int32_t index) = 0;
- virtual CVal compileGlobal(CEnv& cenv, const AType* t, const string& sym, CVal val) = 0;
- virtual CVal compileGlobalGet(CEnv& cenv, const string& sym, CVal val) = 0;
+ virtual CVal compileGlobalSet(CEnv& cenv, const string& s, CVal v, const AType* t) = 0;
+ virtual CVal compileGlobalGet(CEnv& cenv, const string& s, CVal v) = 0;
virtual IfState compileIfStart(CEnv& cenv) = 0;
virtual void compileIfBranch(CEnv& cenv, IfState state, CVal condV, const AST* then) = 0;
virtual CVal compileIfEnd(CEnv& cenv, IfState state, CVal elseV, const AType* type) = 0;