summaryrefslogtreecommitdiff
path: root/modules/scicos/includes/scicos-def.h
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/scicos/includes/scicos-def.h
downloadscilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip
CMSCOPE changed
Diffstat (limited to 'modules/scicos/includes/scicos-def.h')
-rwxr-xr-xmodules/scicos/includes/scicos-def.h98
1 files changed, 98 insertions, 0 deletions
diff --git a/modules/scicos/includes/scicos-def.h b/modules/scicos/includes/scicos-def.h
new file mode 100755
index 000000000..8392efe9f
--- /dev/null
+++ b/modules/scicos/includes/scicos-def.h
@@ -0,0 +1,98 @@
+/* Copyright INRIA */
+/* Allan CORNET 2006 */
+
+#ifndef SCICOS_DEF
+#define SCICOS_DEF
+
+
+#if _LCC_ & FORDLL
+#define IMPORT __declspec (dllimport)
+#else
+#ifdef SCICOS_EXPORTS
+#define IMPORT_SCICOS
+#else
+#ifdef FORDLL
+#define IMPORT_SCICOS extern __declspec (dllimport)
+#else
+#define IMPORT_SCICOS
+#endif
+#endif
+#endif
+
+
+
+typedef struct
+{
+ int counter;
+} COSDEBUGCOUNTER_struct;
+
+
+typedef struct
+{
+ int solver;
+} SOLVER_struct;
+
+
+typedef struct
+{
+ int kfun;
+} CURBLK_struct;
+
+
+typedef struct
+{
+ double scale;
+} RTFACTOR_struct;
+
+
+
+typedef struct
+{
+ int ptr;
+} SCSPTR_struct;
+
+
+typedef struct
+{
+ int idb;
+} DBCOS_struct;
+
+
+typedef struct
+{
+ double atol, rtol, ttol, deltat;
+} COSTOL_struct;
+
+/*!
+ * \brief Storage for the halt flag.
+ */
+typedef struct
+{
+ /*!
+ * \brief halt the simulation flag
+ * \a 0 is used to continue the simulation
+ * \a 1 is used to halt the simulation
+ * \a 2 is used to switch to the final time then halt the simulation
+ */
+ int halt;
+} COSHLT_struct;
+
+
+typedef struct
+{
+ int cosd;
+} COSDEBUG_struct;
+
+#define COSERR_len 4096
+typedef struct
+{
+ char buf[COSERR_len];
+} COSERR_struct;
+
+typedef struct
+{
+ int isrun;
+} COSIM_struct;
+
+
+#endif /*SCICOS_DEF*/