Skip to content

Commit

Permalink
revert 2d6e1a7 in cpp template
Browse files Browse the repository at this point in the history
  • Loading branch information
niklwors authored and unknown committed Nov 19, 2015
1 parent 6d1160c commit 3011206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenCpp.tpl
Expand Up @@ -4472,7 +4472,7 @@ template extType2(Type type, Boolean isInput, Boolean isArray)
let s = match type
case T_INTEGER(__) then "int"
case T_REAL(__) then "double"
case T_STRING(__) then "string"/*use string instead of char* for external types*/
case T_STRING(__) then "const char*"
case T_BOOL(__) then "int"
case T_ENUMERATION(__) then "int"
case T_ARRAY(__) then extType2(ty,isInput,true)
Expand Down

0 comments on commit 3011206

Please sign in to comment.