From bd935db56f35d035c5c73514941c47e0e66f2fc9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 20 Jun 2009 21:29:19 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/resp/tuplr@143 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- tuplr.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tuplr.hpp') diff --git a/tuplr.hpp b/tuplr.hpp index 268d0b1..acf1cec 100644 --- a/tuplr.hpp +++ b/tuplr.hpp @@ -131,7 +131,6 @@ SExp readExpression(Cursor& cur, std::istream& in); typedef void* CValue; ///< Compiled value (opaque) typedef void* CFunction; ///< Compiled function (opaque) -typedef void* CEngine; ///< Compiler engine (opaque) /*************************************************************************** @@ -562,8 +561,8 @@ struct Engine { const vector argNames=vector()) = 0; virtual void finishFunction(CEnv& cenv, CFunction f, CValue ret) = 0; - virtual void eraseFunction(CEnv& cenv, CFunction f) = 0; - virtual void writeModule(CEnv& cenv, std::ostream& os) = 0; + virtual void eraseFunction(CEnv& cenv, CFunction f) = 0; + virtual void writeModule(CEnv& cenv, std::ostream& os) = 0; virtual const string call(CEnv& cenv, CFunction f, AType* retT) = 0; }; @@ -625,8 +624,6 @@ private: void pprint(std::ostream& out, const AST* ast); void initLang(PEnv& penv, TEnv& tenv); -CEnv* newCenv(PEnv& penv, TEnv& tenv); -void freeCenv(CEnv* cenv); int eval(CEnv& cenv, const string& name, istream& is); int repl(CEnv& cenv); -- cgit v1.2.1