diff options
author | David Robillard <d@drobilla.net> | 2009-06-20 18:16:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-20 18:16:00 +0000 |
commit | ced439fb6918e8848882d0e3a65f11b72da92425 (patch) | |
tree | 02864e53389ac2339266cc043b0b80ae0d511555 /tuplr.hpp | |
parent | f8e16165e6666fceaac66c777851a0f99ba8f5fc (diff) | |
download | resp-ced439fb6918e8848882d0e3a65f11b72da92425.tar.gz resp-ced439fb6918e8848882d0e3a65f11b72da92425.tar.bz2 resp-ced439fb6918e8848882d0e3a65f11b72da92425.zip |
Move eval and repl to tuplr.cpp (non-backend dependent code).
git-svn-id: http://svn.drobilla.net/resp/tuplr@133 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'tuplr.hpp')
-rw-r--r-- | tuplr.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -556,6 +556,14 @@ struct TEnv : public Env< const ASymbol*, pair<AST*, AType*> > { * Code Generation * ***************************************************************************/ +CFunction startFunction(CEnv& cenv, const std::string& name, + const AType* retT, const ATuple& argsT, + const vector<string> argNames=vector<string>()); + +void finishFunction(CEnv& cenv, CFunction f, CValue ret); +void eraseFunction(CEnv& cenv, CFunction f); +const string call(CEnv& cenv, CFunction f, AType* retT); + /// Compile-Time Environment struct CEnv { CEnv(PEnv& p, TEnv& t, CEngine e, ostream& os=std::cout, ostream& es=std::cerr); |