diff options
author | David Robillard <d@drobilla.net> | 2009-10-06 17:02:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-06 17:02:44 +0000 |
commit | 165fc3638f9666e94c5cfc4fe719697b0ce72774 (patch) | |
tree | 00976bf8aae033f04b94875a983f6762e2a5c235 /src/tuplr.hpp | |
parent | ce95207bc617e6152efe068c1e045b64121803cc (diff) | |
download | resp-165fc3638f9666e94c5cfc4fe719697b0ce72774.tar.gz resp-165fc3638f9666e94c5cfc4fe719697b0ce72774.tar.bz2 resp-165fc3638f9666e94c5cfc4fe719697b0ce72774.zip |
Split backend specific compilation functions from generic ones.
git-svn-id: http://svn.drobilla.net/resp/tuplr@191 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/tuplr.hpp')
-rw-r--r-- | src/tuplr.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tuplr.hpp b/src/tuplr.hpp index 1e64da1..ca97da9 100644 --- a/src/tuplr.hpp +++ b/src/tuplr.hpp @@ -627,9 +627,10 @@ struct Engine { const AType* retT, const ATuple& argsT, const vector<string> argNames=vector<string>()) = 0; - virtual void finishFunction(CEnv& cenv, CFunction f, const AType* retT, CValue ret) = 0; - virtual void eraseFunction(CEnv& cenv, CFunction f) = 0; - virtual void writeModule(CEnv& cenv, std::ostream& os) = 0; + virtual void finishFunction(CEnv& cenv, CFunction f, const AType* retT, CValue ret) = 0; + virtual void eraseFunction(CEnv& cenv, CFunction f) = 0; + virtual CValue compileCall(CEnv& cenv, CFunction f, const vector<CValue>& args) = 0; + virtual void writeModule(CEnv& cenv, std::ostream& os) = 0; virtual const string call(CEnv& cenv, CFunction f, AType* retT) = 0; }; |