aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-15 07:06:22 +0000
committerDavid Robillard <d@drobilla.net>2012-12-15 07:06:22 +0000
commit10174ffc7ea08b7845dbe409a11811e820536468 (patch)
treec74187d11b7f35c739045e7000d2fa505ac9499a /src/c.cpp
parent8148e755d3f587e6c212ba90efc151ea07de2703 (diff)
downloadresp-10174ffc7ea08b7845dbe409a11811e820536468.tar.gz
resp-10174ffc7ea08b7845dbe409a11811e820536468.tar.bz2
resp-10174ffc7ea08b7845dbe409a11811e820536468.zip
Compile constructors as LLVM struct types.
Use LLVM type names instead of hyper verbose literal types in more places in general. More work on quoting. git-svn-id: http://svn.drobilla.net/resp/trunk@439 ad02d1e2-f140-0410-9f75-f8b11f17cedd
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;
}