aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c.cpp b/src/c.cpp
index 0f56b5a..b2d17d1 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -55,7 +55,7 @@ struct CEngine : public Engine {
CVal compileLiteral(CEnv& cenv, const AST* lit);
CVal compilePrimitive(CEnv& cenv, const ATuple* prim);
CVal compileString(CEnv& cenv, const char* str);
- CType compileType(CEnv& cenv, const char* name, const AST* exp);
+ CType compileType(CEnv& cenv, const std::string& name, const AST* exp);
void writeModule(CEnv& cenv, std::ostream& os);
@@ -169,7 +169,7 @@ CEngine::compileString(CEnv& cenv, const char* str)
}
CType
-CEngine::compileType(CEnv& cenv, const char* name, const AST* expr)
+CEngine::compileType(CEnv& cenv, const std::string& name, const AST* expr)
{
return NULL;
}