add some includes
Allan Cornet [Wed, 6 Feb 2008 08:26:07 +0000 (08:26 +0000)]
13 files changed:
scilab/modules/scicos_blocks/src/c/bouncexy.c
scilab/modules/scicos_blocks/src/c/canimxy.c
scilab/modules/scicos_blocks/src/c/canimxy3d.c
scilab/modules/scicos_blocks/src/c/cevscpe.c
scilab/modules/scicos_blocks/src/c/cfscope.c
scilab/modules/scicos_blocks/src/c/cmat3d.c
scilab/modules/scicos_blocks/src/c/cmatview.c
scilab/modules/scicos_blocks/src/c/cmscope.c
scilab/modules/scicos_blocks/src/c/cscope.c
scilab/modules/scicos_blocks/src/c/cscopxy.c
scilab/modules/scicos_blocks/src/c/cscopxy3d.c
scilab/modules/scicos_blocks/src/c/fromws_c.c
scilab/modules/scicos_blocks/src/c/scoMemoryScope.c

index 07e2ea7..e17a2dc 100644 (file)
@@ -26,7 +26,7 @@
    \brief BOUNCEXY has to be used with bounce_ball block
    \see BOUNCEXY.sci in macros/scicos_blocks/Misc/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index 4deeb73..f9982e9 100755 (executable)
@@ -26,7 +26,7 @@
    \brief CANIMXY is a scope in 2D which draw its input as a XY scope, there is animation.
    \see CANIMXY.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index 83ce07b..be93d7a 100644 (file)
@@ -26,7 +26,7 @@
    \brief CANIMXY3D is a scope in 3D which draw its input as a XY scope, there is animation.
    \see CANIMXY3D.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index 3d64393..ad567b8 100755 (executable)
@@ -26,7 +26,7 @@
    \brief CEVSCPE is a scope that indicates when the clocks is activated
    \see CEVENTSCOPE.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index ede9c9c..36ea064 100755 (executable)
@@ -26,7 +26,7 @@
    \brief CFSCOPE This scope has no input port because it displays the values on the designated link
    \see CFSCOPE.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index f58f82e..4dac605 100644 (file)
@@ -26,7 +26,7 @@
    \brief CMAT3D is a scope which connect a matrix to a plot3d. Values of the matrix are the values at the nodes.
    \see CMAT3D.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index 5685600..c73b487 100644 (file)
@@ -26,7 +26,7 @@
    \brief CMATVIEW is a scope that connects a matrix to a grayplot. The values of the matrix are the values at the nodes
   \see CMATVIEW.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index b9edc8a..4e4b917 100644 (file)
@@ -26,7 +26,7 @@
    \brief CMSCOPE is a typical scope which links its input to the simulation time
    \see CMSCOPE.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index 219a9f8..53d314a 100644 (file)
@@ -26,7 +26,7 @@
    \brief CSCOPE is a typical scope which links its input to the simulation time but there is only one input instead of CMSCOPE
    \see CSCOPE.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index b6bb21e..4060763 100755 (executable)
@@ -26,7 +26,7 @@
    \brief CSCOPXY is a scope in 2D which draw its input as a XY scope, there is no animation, everything is keep in memory instead of CANIMXY
    \see CSCOPXY.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index 4c3b888..f91243d 100755 (executable)
@@ -26,7 +26,7 @@
    \brief CSCOPXY3D is a scope in 2D which draw its input as a XYZ scope, there is no animation, everything is keep in memory instead of CANIMXY3D
    \see CSCOPXY3D.sci in macros/scicos_blocks/Sinks/
 */
-
+#include "CurrentObjectsManagement.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
index de1e0e8..ffcf74c 100644 (file)
  *    Scicos block simulator
  *    From workspace block
  */
-#include "stack-c.h"
+#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include "machine.h"
 #include <math.h>
+#include "stack-c.h"
+#include "machine.h"
+
 
 #if WIN32
 #define NULL    0
index 15f4933..ce3ac01 100644 (file)
@@ -32,6 +32,7 @@
 #include "scoGetProperty.h"
 #include "scoSetProperty.h"
 #include "sciprint.h"
+#include "scicos_malloc.h"
 
 /** This function use scicos_malloc on the whole structure and set up 0 for whole properties*/
 void scoInitScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory, int number_of_subwin, int * number_of_curves_by_subwin)