aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/c.cpp b/src/c.cpp
index b2d17d1..934100c 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -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();