summaryrefslogtreecommitdiff
path: root/macros/CCodeGeneration
diff options
context:
space:
mode:
Diffstat (limited to 'macros/CCodeGeneration')
-rw-r--r--macros/CCodeGeneration/C_Type.binbin4032 -> 9600 bytes
-rw-r--r--macros/CCodeGeneration/C_Type.sci8
2 files changed, 8 insertions, 0 deletions
diff --git a/macros/CCodeGeneration/C_Type.bin b/macros/CCodeGeneration/C_Type.bin
index bdbbb26..607a1b3 100644
--- a/macros/CCodeGeneration/C_Type.bin
+++ b/macros/CCodeGeneration/C_Type.bin
Binary files differ
diff --git a/macros/CCodeGeneration/C_Type.sci b/macros/CCodeGeneration/C_Type.sci
index 21d83a7..506c8fd 100644
--- a/macros/CCodeGeneration/C_Type.sci
+++ b/macros/CCodeGeneration/C_Type.sci
@@ -35,6 +35,14 @@ elseif (ArgType == 'g')
OutC_Type = 'char';
elseif (ArgType == 'f')
OutC_Type = 'SCI2CFILEID';
+elseif (ArgType == 'u8')
+ OutC_Type = 'uint8';
+elseif (ArgType == 'i8')
+ OutC_Type = 'int8';
+elseif (ArgType == 'u16')
+ OutC_Type = 'uint16';
+elseif (ArgType == 'i16')
+ OutC_Type = 'int16';
else
error(9999, 'Unknown Argument Type: ""'+ArgType+'"".');
end