summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/string
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/string')
-rw-r--r--2.3-1/src/c/string/disp/i16dispa.c23
-rw-r--r--2.3-1/src/c/string/disp/i16disps.c18
-rw-r--r--2.3-1/src/c/string/disp/i8dispa.c23
-rw-r--r--2.3-1/src/c/string/disp/i8disps.c18
-rw-r--r--2.3-1/src/c/string/disp/u16dispa.c23
-rw-r--r--2.3-1/src/c/string/disp/u16disps.c18
-rw-r--r--2.3-1/src/c/string/disp/u8dispa.c23
-rw-r--r--2.3-1/src/c/string/disp/u8disps.c18
-rw-r--r--2.3-1/src/c/string/includes/disp.h51
-rw-r--r--2.3-1/src/c/string/includes/str.h58
-rw-r--r--2.3-1/src/c/string/interfaces/int_disp.h16
-rw-r--r--2.3-1/src/c/string/interfaces/int_string.h52
-rw-r--r--2.3-1/src/c/string/string/i16stringa.c23
-rw-r--r--2.3-1/src/c/string/string/i16strings.c20
-rw-r--r--2.3-1/src/c/string/string/i8stringa.c23
-rw-r--r--2.3-1/src/c/string/string/i8strings.c20
-rw-r--r--2.3-1/src/c/string/string/u16stringa.c23
-rw-r--r--2.3-1/src/c/string/string/u16strings.c20
-rw-r--r--2.3-1/src/c/string/string/u8stringa.c23
-rw-r--r--2.3-1/src/c/string/string/u8strings.c20
20 files changed, 512 insertions, 1 deletions
diff --git a/2.3-1/src/c/string/disp/i16dispa.c b/2.3-1/src/c/string/disp/i16dispa.c
new file mode 100644
index 00000000..a30bd896
--- /dev/null
+++ b/2.3-1/src/c/string/disp/i16dispa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double i16dispa (int16* in, int rows, int columns){
+ int i = 0,j = 0;
+
+ for (i = 0; i < rows; ++i) {
+ for (j=0;j<columns;j++) printf (" %d ", in[i+j*rows]);
+ printf("\n");
+ }
+ return 0;
+}
diff --git a/2.3-1/src/c/string/disp/i16disps.c b/2.3-1/src/c/string/disp/i16disps.c
new file mode 100644
index 00000000..92adab9c
--- /dev/null
+++ b/2.3-1/src/c/string/disp/i16disps.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double i16disps (int16 in) {
+ printf(" %d \n",in);
+ return 0;
+}
diff --git a/2.3-1/src/c/string/disp/i8dispa.c b/2.3-1/src/c/string/disp/i8dispa.c
new file mode 100644
index 00000000..467a4356
--- /dev/null
+++ b/2.3-1/src/c/string/disp/i8dispa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double i8dispa (int8* in, int rows, int columns){
+ int i = 0,j = 0;
+
+ for (i = 0; i < rows; ++i) {
+ for (j=0;j<columns;j++) printf (" %d ", in[i+j*rows]);
+ printf("\n");
+ }
+ return 0;
+}
diff --git a/2.3-1/src/c/string/disp/i8disps.c b/2.3-1/src/c/string/disp/i8disps.c
new file mode 100644
index 00000000..68b56954
--- /dev/null
+++ b/2.3-1/src/c/string/disp/i8disps.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double i8disps (int8 in) {
+ printf(" %d \n",in);
+ return 0;
+}
diff --git a/2.3-1/src/c/string/disp/u16dispa.c b/2.3-1/src/c/string/disp/u16dispa.c
new file mode 100644
index 00000000..92df9ddc
--- /dev/null
+++ b/2.3-1/src/c/string/disp/u16dispa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double u16dispa (uint16* in, int rows, int columns){
+ int i = 0,j = 0;
+
+ for (i = 0; i < rows; ++i) {
+ for (j=0;j<columns;j++) printf (" %u ", in[i+j*rows]);
+ printf("\n");
+ }
+ return 0;
+}
diff --git a/2.3-1/src/c/string/disp/u16disps.c b/2.3-1/src/c/string/disp/u16disps.c
new file mode 100644
index 00000000..d27ffb3d
--- /dev/null
+++ b/2.3-1/src/c/string/disp/u16disps.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double u16disps (uint16 in) {
+ printf(" %u \n",in);
+ return 0;
+}
diff --git a/2.3-1/src/c/string/disp/u8dispa.c b/2.3-1/src/c/string/disp/u8dispa.c
new file mode 100644
index 00000000..cca8e441
--- /dev/null
+++ b/2.3-1/src/c/string/disp/u8dispa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double u8dispa (uint8* in, int rows, int columns){
+ int i = 0,j = 0;
+
+ for (i = 0; i < rows; ++i) {
+ for (j=0;j<columns;j++) printf (" %d ", in[i+j*rows]);
+ printf("\n");
+ }
+ return 0;
+}
diff --git a/2.3-1/src/c/string/disp/u8disps.c b/2.3-1/src/c/string/disp/u8disps.c
new file mode 100644
index 00000000..78b750a3
--- /dev/null
+++ b/2.3-1/src/c/string/disp/u8disps.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double u8disps (uint8 in) {
+ printf(" %d \n",in);
+ return 0;
+}
diff --git a/2.3-1/src/c/string/includes/disp.h b/2.3-1/src/c/string/includes/disp.h
index 96ccb248..88764f27 100644
--- a/2.3-1/src/c/string/includes/disp.h
+++ b/2.3-1/src/c/string/includes/disp.h
@@ -19,6 +19,7 @@
#include "dynlib_string.h"
#include "floatComplex.h"
#include "doubleComplex.h"
+#include "types.h"
#ifdef __cplusplus
extern "C" {
@@ -44,6 +45,27 @@ EXTERN_STRING double cdisps (floatComplex in);
EXTERN_STRING double zdisps (doubleComplex in);
/*
+** \brief display of a uint8 scalar
+*/
+EXTERN_STRING double u8disps (uint8 in);
+
+/*
+** \brief display of a int8 scalar
+*/
+EXTERN_STRING double i8disps (int8 in);
+
+/*
+** \brief display of a uint16 scalar
+*/
+EXTERN_STRING double u16disps (uint16 in);
+
+/*
+** \brief display of a int16 scalar
+*/
+EXTERN_STRING double i16disps (int16 in);
+
+
+/*
** \brief display of a float scalar array
** \param in the float scalar array to display
** \param size the size of the array
@@ -71,7 +93,34 @@ EXTERN_STRING double cdispa (floatComplex* in, int rows, int columns);
*/
EXTERN_STRING double zdispa (doubleComplex* in, int rows, int columns);
-
+/*
+** \brief display of a uint8 scalar array
+** \param in the uint8 scalar array to display
+** \param size the size of the array
+*/
+EXTERN_STRING double u8dispa (uint8* in, int rows, int columns);
+
+/*
+** \brief display of a int8 scalar array
+** \param in the int8 scalar array to display
+** \param size the size of the array
+*/
+EXTERN_STRING double i8dispa (int8* in, int rows, int columns);
+
+/*
+** \brief display of a uint16 scalar array
+** \param in the uint16 scalar array to display
+** \param size the size of the array
+*/
+EXTERN_STRING double u16dispa (uint16* in, int rows, int columns);
+
+/*
+** \brief display of a int16 scalar array
+** \param in the int16 scalar array to display
+** \param size the size of the array
+*/
+EXTERN_STRING double i16dispa (int16* in, int rows, int columns);
+
EXTERN_STRING double ddisph (double *in, int rows, int cols, int levels);
EXTERN_STRING double g2dispd0(char *array,int* tmparraysize);
diff --git a/2.3-1/src/c/string/includes/str.h b/2.3-1/src/c/string/includes/str.h
index 434c68e0..79307b5f 100644
--- a/2.3-1/src/c/string/includes/str.h
+++ b/2.3-1/src/c/string/includes/str.h
@@ -19,6 +19,7 @@
#include "dynlib_string.h"
#include "floatComplex.h"
#include "doubleComplex.h"
+#include "types.h"
#ifdef __cplusplus
extern "C" {
@@ -54,6 +55,35 @@ EXTERN_STRING void zstrings (doubleComplex in, char* out);
/*
+** \brief convert of a uint8 scalar into a char array
+** \param in the uint8 scalar to convert
+** \param out the output char array
+*/
+EXTERN_STRING void u8strings (uint8 in, char* out);
+
+/*
+** \brief convert of a int8 scalar into a char array
+** \param in the int8 scalar to convert
+** \param out the output char array
+*/
+EXTERN_STRING void i8strings (int8 in, char* out);
+
+/*
+** \brief convert of a uint16 scalar into a char array
+** \param in the uint16 scalar to convert
+** \param out the output char array
+*/
+EXTERN_STRING void u16strings (uint16 in, char* out);
+
+/*
+** \brief convert of a int16 scalar into a char array
+** \param in the int16 scalar to convert
+** \param out the output char array
+*/
+EXTERN_STRING void i16strings (int16 in, char* out);
+
+
+/*
** \brief convert of a float scalar array into an array of char arrays
** \param in the float scalar array to convert
** \param out the output array of char arrays
@@ -81,6 +111,34 @@ EXTERN_STRING void cstringa (floatComplex* in, int size, char** out );
*/
EXTERN_STRING void zstringa (doubleComplex* in, int size, char** out);
+/*
+** \brief convert of a uint8 scalar array into an array of char arrays
+** \param in the uint8 scalar array to convert
+** \param out the output array of char arrays
+*/
+EXTERN_STRING void u8stringa (uint8* in, int size, char** out);
+
+/*
+** \brief convert of a int8 scalar array into an array of char arrays
+** \param in the int8 scalar array to convert
+** \param out the output array of char arrays
+*/
+EXTERN_STRING void i8stringa (int8* in, int size, char** out);
+
+/*
+** \brief convert of a uint16 scalar array into an array of char arrays
+** \param in the uint16 scalar array to convert
+** \param out the output array of char arrays
+*/
+EXTERN_STRING void u16stringa (uint16* in, int size, char** out);
+
+/*
+** \brief convert of a int16 scalar array into an array of char arrays
+** \param in the int16 scalar array to convert
+** \param out the output array of char arrays
+*/
+EXTERN_STRING void i16stringa (int16* in, int size, char** out);
+
#ifdef __cplusplus
} /* extern "C" */
#endif
diff --git a/2.3-1/src/c/string/interfaces/int_disp.h b/2.3-1/src/c/string/interfaces/int_disp.h
index 57f7bd45..4b6f8965 100644
--- a/2.3-1/src/c/string/interfaces/int_disp.h
+++ b/2.3-1/src/c/string/interfaces/int_disp.h
@@ -25,6 +25,14 @@
#define z0dispd0(in) zdisps(in)
+#define u80dispd0(in) u8disps(in)
+
+#define i80dispd0(in) i8disps(in)
+
+#define u160dispd0(in) u16disps(in)
+
+#define i160dispd0(in) i16disps(in)
+
#define s2dispd0(in,size) sdispa(in,size[0],size[1])
#define d2dispd0(in,size) ddispa(in,size[0],size[1])
@@ -33,6 +41,14 @@
#define z2dispd0(in,size) zdispa(in,size[0],size[1])
+#define u82dispd0(in,size) u8dispa(in,size[0],size[1])
+
+#define i82dispd0(in,size) i8dispa(in,size[0],size[1])
+
+#define u162dispd0(in,size) u16dispa(in,size[0],size[1])
+
+#define i162dispd0(in,size) i16dispa(in,size[0],size[1])
+
#define d3dispd0(in,size) ddisph(in,size[0],size[1],size[2])
#define g2dispd0(in, size) printf("%s\n",in)
diff --git a/2.3-1/src/c/string/interfaces/int_string.h b/2.3-1/src/c/string/interfaces/int_string.h
new file mode 100644
index 00000000..e90f1f98
--- /dev/null
+++ b/2.3-1/src/c/string/interfaces/int_string.h
@@ -0,0 +1,52 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */
+
+#ifndef __INT_STRING_H__
+#define __INT_STRING_H__
+
+#include <stdio.h>
+
+#define s0string(in,out) sstrings(in,out)
+
+#define d0string(in,out) dstrings(in,out)
+
+#define c0string(in,out) cstrings(in,out)
+
+#define z0string(in,out) zstrings(in,out)
+
+#define u80string(in,out) u8strings(in,out)
+
+#define i80string(in,out) i8strings(in,out)
+
+#define u160string(in,out) u16strings(in,out)
+
+#define i160string(in,out) i16strings(in,out)
+
+#define s2string(in,size,out) sstringa(in,size[0]*size[1],out)
+
+#define d2string(in,size,out) dstringa(in,size[0]*size[1],out)
+
+#define c2string(in,size,out) cstringa(in,size[0]*size[1],out)
+
+#define z2string(in,size,out) zstringa(in,size[0]*size[1],out)
+
+#define u82string(in,size,out) u8stringa(in,size[0]*size[1],out)
+
+#define i82string(in,size,out) i8stringa(in,size[0]*size[1],out)
+
+#define u162string(in,size,out) u16stringa(in,size[0]*size[1],out)
+
+#define i162string(in,size,out) i16stringa(in,size[0]*size[1],out)
+
+#endif /* __INT_STRING_H__ */
diff --git a/2.3-1/src/c/string/string/i16stringa.c b/2.3-1/src/c/string/string/i16stringa.c
new file mode 100644
index 00000000..28855df6
--- /dev/null
+++ b/2.3-1/src/c/string/string/i16stringa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "str.h"
+#include "types.h"
+
+void i16stringa (int16* in, int size, char** out){
+
+ int i = 0;
+ for (i = 0; i < size; ++i)
+ {
+ i16strings (in[i], out[i]);
+ }
+}
diff --git a/2.3-1/src/c/string/string/i16strings.c b/2.3-1/src/c/string/string/i16strings.c
new file mode 100644
index 00000000..2f214308
--- /dev/null
+++ b/2.3-1/src/c/string/string/i16strings.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include <stdio.h>
+#include "str.h"
+#include "types.h"
+
+void i16strings (int16 in, char* out) {
+
+ sprintf (out, "%d" ,in );
+}
diff --git a/2.3-1/src/c/string/string/i8stringa.c b/2.3-1/src/c/string/string/i8stringa.c
new file mode 100644
index 00000000..cf436f0a
--- /dev/null
+++ b/2.3-1/src/c/string/string/i8stringa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "str.h"
+#include "types.h"
+
+void i8stringa (int8* in, int size, char** out){
+
+ int i = 0;
+ for (i = 0; i < size; ++i)
+ {
+ i8strings (in[i], out[i]);
+ }
+}
diff --git a/2.3-1/src/c/string/string/i8strings.c b/2.3-1/src/c/string/string/i8strings.c
new file mode 100644
index 00000000..926c0f4d
--- /dev/null
+++ b/2.3-1/src/c/string/string/i8strings.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include <stdio.h>
+#include "str.h"
+#include "types.h"
+
+void i8strings (int8 in, char* out) {
+
+ sprintf (out, "%d" ,in );
+}
diff --git a/2.3-1/src/c/string/string/u16stringa.c b/2.3-1/src/c/string/string/u16stringa.c
new file mode 100644
index 00000000..ee5d1b36
--- /dev/null
+++ b/2.3-1/src/c/string/string/u16stringa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "str.h"
+#include "types.h"
+
+void u16stringa (uint16* in, int size, char** out){
+
+ int i = 0;
+ for (i = 0; i < size; ++i)
+ {
+ u16strings (in[i], out[i]);
+ }
+}
diff --git a/2.3-1/src/c/string/string/u16strings.c b/2.3-1/src/c/string/string/u16strings.c
new file mode 100644
index 00000000..d2854c45
--- /dev/null
+++ b/2.3-1/src/c/string/string/u16strings.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include <stdio.h>
+#include "str.h"
+#include "types.h"
+
+void u16strings (uint16 in, char* out) {
+
+ sprintf (out, "%d" ,in );
+}
diff --git a/2.3-1/src/c/string/string/u8stringa.c b/2.3-1/src/c/string/string/u8stringa.c
new file mode 100644
index 00000000..4546823d
--- /dev/null
+++ b/2.3-1/src/c/string/string/u8stringa.c
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "str.h"
+#include "types.h"
+
+void u8stringa (uint8* in, int size, char** out){
+
+ int i = 0;
+ for (i = 0; i < size; ++i)
+ {
+ u8strings (in[i], out[i]);
+ }
+}
diff --git a/2.3-1/src/c/string/string/u8strings.c b/2.3-1/src/c/string/string/u8strings.c
new file mode 100644
index 00000000..38bf670d
--- /dev/null
+++ b/2.3-1/src/c/string/string/u8strings.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include <stdio.h>
+#include "str.h"
+#include "types.h"
+
+void u8strings (uint8 in, char* out) {
+
+ sprintf (out, "%d" ,in );
+}