diff options
author | David Robillard <d@drobilla.net> | 2012-12-15 21:48:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-15 21:48:21 +0000 |
commit | d3708205163f784343733661d9fa01ff14f8b751 (patch) | |
tree | a771a4956753c66cd2c8b7c5eb9f1e4a0b30834a /src/c.cpp | |
parent | 10174ffc7ea08b7845dbe409a11811e820536468 (diff) | |
download | resp-d3708205163f784343733661d9fa01ff14f8b751.tar.gz resp-d3708205163f784343733661d9fa01ff14f8b751.tar.bz2 resp-d3708205163f784343733661d9fa01ff14f8b751.zip |
Write forward declarations for all types and functions for mutual and/or nested recursion.
git-svn-id: http://svn.drobilla.net/resp/trunk@440 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -41,6 +41,7 @@ struct CEngine : public Engine { { } + CFunc compileProt(CEnv& cenv, const string& name, const ATuple* args, const ATuple* type); CFunc startFn(CEnv& cenv, const string& name, const ATuple* args, const ATuple* type); void finishFn(CEnv& cenv, CFunc f, CVal ret, const AST* retT); void eraseFn(CEnv& cenv, CFunc f); @@ -175,6 +176,12 @@ CEngine::compileType(CEnv& cenv, const std::string& name, const AST* expr) } CFunc +CEngine::compileProt(CEnv& cenv, const std::string& name, const ATuple* args, const ATuple* type) +{ + return NULL; +} + +CFunc CEngine::startFn(CEnv& cenv, const std::string& name, const ATuple* args, const ATuple* type) { const ATuple* argsT = type->prot(); |