From 3011206159be5ffdf842e85c014ec6e924423d98 Mon Sep 17 00:00:00 2001 From: Niklas Worschech Date: Thu, 19 Nov 2015 15:25:40 +0100 Subject: [PATCH] revert 2d6e1a7d26ee397d9295368aec0f9450d9db1e23 in cpp template --- Compiler/Template/CodegenCpp.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiler/Template/CodegenCpp.tpl b/Compiler/Template/CodegenCpp.tpl index 151c07061b9..7a44c3e4d95 100644 --- a/Compiler/Template/CodegenCpp.tpl +++ b/Compiler/Template/CodegenCpp.tpl @@ -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)