summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/cat/i8cats.c
diff options
context:
space:
mode:
authorimushir2015-12-28 17:01:05 +0530
committerimushir2015-12-28 17:01:05 +0530
commit52780e449df15747b1339b1fa2c8caf8d69b2c56 (patch)
tree59ffc72d01c8c933fb1aface7ab27d137c338339 /src/c/matrixOperations/cat/i8cats.c
parenteb760e0368b6be3bc0f0a7f076bc74d25df0df62 (diff)
downloadScilab2C_fossee_old-52780e449df15747b1339b1fa2c8caf8d69b2c56.tar.gz
Scilab2C_fossee_old-52780e449df15747b1339b1fa2c8caf8d69b2c56.tar.bz2
Scilab2C_fossee_old-52780e449df15747b1339b1fa2c8caf8d69b2c56.zip
added support for uint8 uin16 int8 int16
Diffstat (limited to 'src/c/matrixOperations/cat/i8cats.c')
-rw-r--r--src/c/matrixOperations/cat/i8cats.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/c/matrixOperations/cat/i8cats.c b/src/c/matrixOperations/cat/i8cats.c
new file mode 100644
index 0000000..575f8a8
--- /dev/null
+++ b/src/c/matrixOperations/cat/i8cats.c
@@ -0,0 +1,16 @@
+/* Scilab 2C FOSSEE IIT BOMBAY */
+#include "cat.h"
+
+void i8rowcats(int8 in1,int8 in2,int8 *out)
+{
+ out[0] = in1;
+ out[1] = in2;
+
+}
+
+void i8columncats(int8 in1,uint8 in2,int8 *out)
+{
+ out[0] = in1;
+ out[1] = in2;
+
+}