diff options
author | David Robillard <d@drobilla.net> | 2009-06-20 19:15:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-20 19:15:30 +0000 |
commit | c10b039113a618b6b0851260430985a64da4d826 (patch) | |
tree | ed30e58165a661667d0724db5638e967bc1c60db /tuplr.cpp | |
parent | f1e547a50a132afedbcd31700abb4ff79405e665 (diff) | |
download | resp-c10b039113a618b6b0851260430985a64da4d826.tar.gz resp-c10b039113a618b6b0851260430985a64da4d826.tar.bz2 resp-c10b039113a618b6b0851260430985a64da4d826.zip |
More sanification of front/back end separation.
git-svn-id: http://svn.drobilla.net/resp/tuplr@138 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'tuplr.cpp')
-rw-r--r-- | tuplr.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -374,7 +374,9 @@ main(int argc, char** argv) TEnv tenv(penv); initLang(penv, tenv); - CEnv* cenv = newCenv(penv, tenv); + CEngine engine = tuplr_new_engine(); + CEnv* cenv = new CEnv(penv, tenv, engine); + cenv->push(); Object::pool.lock(); @@ -450,7 +452,9 @@ main(int argc, char** argv) os.close(); } - freeCenv(cenv); + delete cenv; + tuplr_free_engine(engine); + return ret; } |