summaryrefslogtreecommitdiff
path: root/2.3-1/includes/sci2clib.h
diff options
context:
space:
mode:
authorsiddhu89902016-08-29 10:47:52 +0530
committersiddhu89902016-08-29 10:47:52 +0530
commit53ddbeb8c94cd71d37064d6d7e8ac56fef7ae5af (patch)
treeb002757ff60da2d674fc8690fcabbc544e0f7f2f /2.3-1/includes/sci2clib.h
parent425ae9b5508196bc39ab98f12696550dfa6f872c (diff)
downloadScilab2C-53ddbeb8c94cd71d37064d6d7e8ac56fef7ae5af.tar.gz
Scilab2C-53ddbeb8c94cd71d37064d6d7e8ac56fef7ae5af.tar.bz2
Scilab2C-53ddbeb8c94cd71d37064d6d7e8ac56fef7ae5af.zip
OpenCV interface changed from c to c++
Diffstat (limited to '2.3-1/includes/sci2clib.h')
-rw-r--r--2.3-1/includes/sci2clib.h75
1 files changed, 28 insertions, 47 deletions
diff --git a/2.3-1/includes/sci2clib.h b/2.3-1/includes/sci2clib.h
index 3567ca78..0e8446ef 100644
--- a/2.3-1/includes/sci2clib.h
+++ b/2.3-1/includes/sci2clib.h
@@ -1,55 +1,22 @@
#ifndef __SCI2CLIB_H__
#define __SCI2CLIB_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <math.h>
-/* #include "SCI2CMacroInterface.h"
- */
-/* #include "notFound.h"
- */
-/* #include "doubleComplex.h"
- */
-/* #include "floatComplex.h"
- */
-/* #include "RealToComplex.h"
- */
-/* #include "OpEqual.h"
- */
-/* #include "OpIns.h"
- */
-/* #include "OpExt.h"
- */
-/* #include "FileManagement.h"
- */
-/* #include "OpLogNe.h"
- */
-/* #include "OpLogGt.h"
- */
-/* #include "OpLogLt.h"
- */
-/* #include "OpLogGe.h"
- */
-/* #include "OpLogLe.h"
- */
-/* #include "OpLogEq.h"
- */
-/* #include "OpLogOr.h"
- */
-/* #include "OpLogAnd.h"
- */
-/* #include "OpLogNot.h"
- */
-/* #include "ConvertPrecision.h" */
-
+
/* CONSTANT */
#include "constant.h"
/* LIB */
-/* interfacing lapack */
-#include "lapack.h"
/* interfacing blas */
#include "blas.h"
+/* interfacing lapack */
+#include "lapack.h"
/* AUXILIARY FUNCTIONS */
@@ -407,13 +374,13 @@
#include "int_convstr.h"
/*Functions related to opencv*/
-#include "cvcore.h"
-#include "int_cvcore.h"
-#include "cvhighgui.h"
-#include "int_cvhighgui.h"
-#include "cvimgproc.h"
-#include "int_cvimgproc.h"
-
+/*#include "cvcore.hpp"
+#include "int_cvcore.hpp"
+#include "cvhighgui.hpp"
+#include "int_cvhighgui.hpp"
+#include "cvimgproc.hpp"
+#include "int_cvimgproc.hpp"
+*/
/*Scilab-arduino toolbox*/
#ifdef Arduino1
#include "int_cmd_digital_out.h"
@@ -464,4 +431,18 @@
#include "int_RPIPeripheralPWM.h"
#include "RPIPeripheralPWM.h"
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#include "cvcore.hpp"
+#include "int_cvcore.hpp"
+#include "cvhighgui.hpp"
+#include "int_cvhighgui.hpp"
+#include "cvimgproc.hpp"
+#include "int_cvimgproc.hpp"
+
#endif /* !__SCI2CLIB_H__ */
+
+