diff options
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |