diff options
author | Siddhesh Wani | 2015-07-30 17:06:28 +0530 |
---|---|---|
committer | Siddhesh Wani | 2015-07-30 17:06:28 +0530 |
commit | dcc7a8331ba9ae3bdd00670a018631c77517c100 (patch) | |
tree | 90af508b56e9e370f09c1c910961ca15c42fc014 /2.3-1/macros/CCodeGeneration | |
parent | 6a320264c2de3d6dd8cc1d1327b3c30df4c8cb26 (diff) | |
download | Scilab2C-dcc7a8331ba9ae3bdd00670a018631c77517c100.tar.gz Scilab2C-dcc7a8331ba9ae3bdd00670a018631c77517c100.tar.bz2 Scilab2C-dcc7a8331ba9ae3bdd00670a018631c77517c100.zip |
Added new data types. Support for few functions with new data types added. These changes requires proper testing
Diffstat (limited to '2.3-1/macros/CCodeGeneration')
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_Type.bin | bin | 4032 -> 9600 bytes | |||
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_Type.sci | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_Type.bin b/2.3-1/macros/CCodeGeneration/C_Type.bin Binary files differindex bdbbb268..607a1b3f 100644 --- a/2.3-1/macros/CCodeGeneration/C_Type.bin +++ b/2.3-1/macros/CCodeGeneration/C_Type.bin diff --git a/2.3-1/macros/CCodeGeneration/C_Type.sci b/2.3-1/macros/CCodeGeneration/C_Type.sci index 21d83a7d..506c8fde 100644 --- a/2.3-1/macros/CCodeGeneration/C_Type.sci +++ b/2.3-1/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 |