summaryrefslogtreecommitdiff
path: root/src/c/string
diff options
context:
space:
mode:
authorsiddhu89902017-04-24 14:08:37 +0530
committersiddhu89902017-04-24 14:08:37 +0530
commitc7e9597db39140c1d982f796a8e1f03bb54e7905 (patch)
treef5f44081aeba7a00bb69b1ec71f93c31eac12863 /src/c/string
parent1fd0dce8d72c4d5869ce5ff4025ac09af603bc0f (diff)
downloadscilab2c-c7e9597db39140c1d982f796a8e1f03bb54e7905.tar.gz
scilab2c-c7e9597db39140c1d982f796a8e1f03bb54e7905.tar.bz2
scilab2c-c7e9597db39140c1d982f796a8e1f03bb54e7905.zip
Fixed float.h issue. OpenCV with built libraries working for linux x64
Diffstat (limited to 'src/c/string')
-rw-r--r--src/c/string/convstr/gconvstrs.c12
-rw-r--r--src/c/string/interfaces/int_convstr.h4
-rw-r--r--src/c/string/strrchr/gstrrchra.c11
-rw-r--r--src/c/string/strrev/gstrreva.c13
-rw-r--r--src/c/string/strsubst/gstrsubsta.c12
5 files changed, 49 insertions, 3 deletions
diff --git a/src/c/string/convstr/gconvstrs.c b/src/c/string/convstr/gconvstrs.c
index 3db7663e..d3374ff4 100644
--- a/src/c/string/convstr/gconvstrs.c
+++ b/src/c/string/convstr/gconvstrs.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+
#include <string.h>
#include "convstr.h"
diff --git a/src/c/string/interfaces/int_convstr.h b/src/c/string/interfaces/int_convstr.h
index fee3d373..2eade501 100644
--- a/src/c/string/interfaces/int_convstr.h
+++ b/src/c/string/interfaces/int_convstr.h
@@ -17,9 +17,9 @@
#endif
#define g2g2convstrg2(in,size,flag,size2,out) gconvstrs(in,size[0]*size[1],flag,size2[1],out)
-//#define g2g2convstrg0(in,size,type,typesize,out) (type=='u': \
+/*#define g2g2convstrg0(in,size,type,typesize,out) (type=='u': \
gconvstrs(in,size[0]*size[1],0,out)?gconvstrs(in,size[0]*size[1],1,out))
-
+*/
#ifdef __cplusplus
} /* extern "C" */
#endif
diff --git a/src/c/string/strrchr/gstrrchra.c b/src/c/string/strrchr/gstrrchra.c
index 460c1f2f..6a55fbd3 100644
--- a/src/c/string/strrchr/gstrrchra.c
+++ b/src/c/string/strrchr/gstrrchra.c
@@ -1,3 +1,14 @@
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
#include <stdio.h>
#include <string.h>
#include "strrchr.h"
diff --git a/src/c/string/strrev/gstrreva.c b/src/c/string/strrev/gstrreva.c
index 8ceb16ab..71a95725 100644
--- a/src/c/string/strrev/gstrreva.c
+++ b/src/c/string/strrev/gstrreva.c
@@ -1,4 +1,15 @@
-#include<stdio.h>
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include <stdio.h>
#include "strrev.h"
void gstrreva(char* str,int size,char* out)
diff --git a/src/c/string/strsubst/gstrsubsta.c b/src/c/string/strsubst/gstrsubsta.c
index 69ebf3c5..6aee50ce 100644
--- a/src/c/string/strsubst/gstrsubsta.c
+++ b/src/c/string/strsubst/gstrsubsta.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+
#include <stdio.h>
#include <string.h>
#include "strsubst.h"