better way to do dll (scicos module) + remove some extern
Allan CORNET [Tue, 1 Sep 2009 14:25:16 +0000 (16:25 +0200)]
345 files changed:
scilab/modules/scicos/Makefile.am
scilab/modules/scicos/includes/dynlib_scicos.h [new file with mode: 0644]
scilab/modules/scicos/includes/gw_scicos.h
scilab/modules/scicos/includes/import.h [moved from scilab/modules/scicos/src/c/import.h with 92% similarity]
scilab/modules/scicos/includes/scicos.h
scilab/modules/scicos/includes/scicos_free.h
scilab/modules/scicos/includes/scicos_malloc.h
scilab/modules/scicos/src/c/import.c
scilab/modules/scicos/src/c/noscicos/noscicos.c
scilab/modules/scicos/src/c/noscicos/noscicos.vcproj
scilab/modules/scicos/src/c/sciblk4.c
scilab/modules/scicos/src/c/scicos.c
scilab/modules/scicos/src/c/scicos.vcproj
scilab/modules/scicos/src/c/scicos_free.c
scilab/modules/scicos/src/c/scicos_header.def [deleted file]
scilab/modules/scicos/src/c/scicos_malloc.c
scilab/modules/scicos_blocks/Makefile.am
scilab/modules/scicos_blocks/includes/affich.h
scilab/modules/scicos_blocks/includes/blocks.h.vc
scilab/modules/scicos_blocks/includes/dynlib_scicos_blocks.h [new file with mode: 0644]
scilab/modules/scicos_blocks/includes/scicos_block.h
scilab/modules/scicos_blocks/includes/scicos_block4.h
scilab/modules/scicos_blocks/includes/scoBase.h
scilab/modules/scicos_blocks/includes/scoGetProperty.h
scilab/modules/scicos_blocks/includes/scoMemoryScope.h
scilab/modules/scicos_blocks/includes/scoMisc.h
scilab/modules/scicos_blocks/includes/scoSetProperty.h
scilab/modules/scicos_blocks/includes/scoWindowScope.h
scilab/modules/scicos_blocks/src/c/absblk.c
scilab/modules/scicos_blocks/src/c/absolute_value.c
scilab/modules/scicos_blocks/src/c/acos_blk.c
scilab/modules/scicos_blocks/src/c/acosh_blk.c
scilab/modules/scicos_blocks/src/c/affich.c
scilab/modules/scicos_blocks/src/c/andlog.c
scilab/modules/scicos_blocks/src/c/asin_blk.c
scilab/modules/scicos_blocks/src/c/asinh_blk.c
scilab/modules/scicos_blocks/src/c/assignment.c
scilab/modules/scicos_blocks/src/c/atan_blk.c
scilab/modules/scicos_blocks/src/c/atanh_blk.c
scilab/modules/scicos_blocks/src/c/automat.c
scilab/modules/scicos_blocks/src/c/backlash.c
scilab/modules/scicos_blocks/src/c/bidon.c
scilab/modules/scicos_blocks/src/c/bit_clear_16.c
scilab/modules/scicos_blocks/src/c/bit_clear_32.c
scilab/modules/scicos_blocks/src/c/bit_clear_8.c
scilab/modules/scicos_blocks/src/c/bit_set_16.c
scilab/modules/scicos_blocks/src/c/bit_set_32.c
scilab/modules/scicos_blocks/src/c/bit_set_8.c
scilab/modules/scicos_blocks/src/c/bounce_ball.c
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/cdummy.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/constraint_c.c
scilab/modules/scicos_blocks/src/c/convert.c
scilab/modules/scicos_blocks/src/c/cos_blk.c
scilab/modules/scicos_blocks/src/c/cosblk.c
scilab/modules/scicos_blocks/src/c/cosh_blk.c
scilab/modules/scicos_blocks/src/c/counter.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/csslti4.c
scilab/modules/scicos_blocks/src/c/cstblk4.c
scilab/modules/scicos_blocks/src/c/cstblk4_m.c
scilab/modules/scicos_blocks/src/c/cumsum_c.c
scilab/modules/scicos_blocks/src/c/cumsum_m.c
scilab/modules/scicos_blocks/src/c/cumsum_r.c
scilab/modules/scicos_blocks/src/c/cumsumz_c.c
scilab/modules/scicos_blocks/src/c/cumsumz_m.c
scilab/modules/scicos_blocks/src/c/cumsumz_r.c
scilab/modules/scicos_blocks/src/c/curve_c.c
scilab/modules/scicos_blocks/src/c/dband.c
scilab/modules/scicos_blocks/src/c/deadband.c
scilab/modules/scicos_blocks/src/c/delay4.c
scilab/modules/scicos_blocks/src/c/delay4_i16.c
scilab/modules/scicos_blocks/src/c/delay4_i32.c
scilab/modules/scicos_blocks/src/c/delay4_i8.c
scilab/modules/scicos_blocks/src/c/delay4_ui16.c
scilab/modules/scicos_blocks/src/c/delay4_ui32.c
scilab/modules/scicos_blocks/src/c/delay4_ui8.c
scilab/modules/scicos_blocks/src/c/deriv.c
scilab/modules/scicos_blocks/src/c/diffblk_c.c
scilab/modules/scicos_blocks/src/c/dmmul.c
scilab/modules/scicos_blocks/src/c/dmmul1.c
scilab/modules/scicos_blocks/src/c/dollar4.c
scilab/modules/scicos_blocks/src/c/dollar4_m.c
scilab/modules/scicos_blocks/src/c/dsslti4.c
scilab/modules/scicos_blocks/src/c/edgetrig.c
scilab/modules/scicos_blocks/src/c/evaluate_expr.c
scilab/modules/scicos_blocks/src/c/evtdly4.c
scilab/modules/scicos_blocks/src/c/evtvardly.c
scilab/modules/scicos_blocks/src/c/expblk_m.c
scilab/modules/scicos_blocks/src/c/extdiag.c
scilab/modules/scicos_blocks/src/c/extdiagz.c
scilab/modules/scicos_blocks/src/c/extract.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_LH.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_LSB.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_MSB0.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_MSB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_RB0.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_RB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_UH0.c
scilab/modules/scicos_blocks/src/c/extract_bit_16_UH1.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_LH.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_LSB.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_MSB0.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_MSB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_RB0.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_RB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_UH0.c
scilab/modules/scicos_blocks/src/c/extract_bit_32_UH1.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_LH.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_LSB.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_MSB0.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_MSB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_RB0.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_RB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_UH0.c
scilab/modules/scicos_blocks/src/c/extract_bit_8_UH1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u16_MSB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u16_RB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u16_UH1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u32_MSB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u32_RB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u32_UH1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u8_MSB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u8_RB1.c
scilab/modules/scicos_blocks/src/c/extract_bit_u8_UH1.c
scilab/modules/scicos_blocks/src/c/extractor.c
scilab/modules/scicos_blocks/src/c/extractz.c
scilab/modules/scicos_blocks/src/c/exttril.c
scilab/modules/scicos_blocks/src/c/exttrilz.c
scilab/modules/scicos_blocks/src/c/exttriu.c
scilab/modules/scicos_blocks/src/c/exttriuz.c
scilab/modules/scicos_blocks/src/c/foriterator.c
scilab/modules/scicos_blocks/src/c/fromws_c.c
scilab/modules/scicos_blocks/src/c/gain.c
scilab/modules/scicos_blocks/src/c/gainblk.c
scilab/modules/scicos_blocks/src/c/gainblk_i16e.c
scilab/modules/scicos_blocks/src/c/gainblk_i16n.c
scilab/modules/scicos_blocks/src/c/gainblk_i16s.c
scilab/modules/scicos_blocks/src/c/gainblk_i32e.c
scilab/modules/scicos_blocks/src/c/gainblk_i32n.c
scilab/modules/scicos_blocks/src/c/gainblk_i32s.c
scilab/modules/scicos_blocks/src/c/gainblk_i8e.c
scilab/modules/scicos_blocks/src/c/gainblk_i8n.c
scilab/modules/scicos_blocks/src/c/gainblk_i8s.c
scilab/modules/scicos_blocks/src/c/gainblk_ui16e.c
scilab/modules/scicos_blocks/src/c/gainblk_ui16n.c
scilab/modules/scicos_blocks/src/c/gainblk_ui16s.c
scilab/modules/scicos_blocks/src/c/gainblk_ui32e.c
scilab/modules/scicos_blocks/src/c/gainblk_ui32n.c
scilab/modules/scicos_blocks/src/c/gainblk_ui32s.c
scilab/modules/scicos_blocks/src/c/gainblk_ui8e.c
scilab/modules/scicos_blocks/src/c/gainblk_ui8n.c
scilab/modules/scicos_blocks/src/c/gainblk_ui8s.c
scilab/modules/scicos_blocks/src/c/hystheresis.c
scilab/modules/scicos_blocks/src/c/integral_func.c
scilab/modules/scicos_blocks/src/c/integralz_func.c
scilab/modules/scicos_blocks/src/c/invblk4.c
scilab/modules/scicos_blocks/src/c/logic.c
scilab/modules/scicos_blocks/src/c/logicalop.c
scilab/modules/scicos_blocks/src/c/logicalop_i16.c
scilab/modules/scicos_blocks/src/c/logicalop_i32.c
scilab/modules/scicos_blocks/src/c/logicalop_i8.c
scilab/modules/scicos_blocks/src/c/logicalop_m.c
scilab/modules/scicos_blocks/src/c/logicalop_ui16.c
scilab/modules/scicos_blocks/src/c/logicalop_ui32.c
scilab/modules/scicos_blocks/src/c/logicalop_ui8.c
scilab/modules/scicos_blocks/src/c/lookup2d.c
scilab/modules/scicos_blocks/src/c/lookup_c.c
scilab/modules/scicos_blocks/src/c/m_frequ.c
scilab/modules/scicos_blocks/src/c/mat_bksl.c
scilab/modules/scicos_blocks/src/c/mat_cath.c
scilab/modules/scicos_blocks/src/c/mat_catv.c
scilab/modules/scicos_blocks/src/c/mat_det.c
scilab/modules/scicos_blocks/src/c/mat_diag.c
scilab/modules/scicos_blocks/src/c/mat_div.c
scilab/modules/scicos_blocks/src/c/mat_expm.c
scilab/modules/scicos_blocks/src/c/mat_inv.c
scilab/modules/scicos_blocks/src/c/mat_lu.c
scilab/modules/scicos_blocks/src/c/mat_pinv.c
scilab/modules/scicos_blocks/src/c/mat_reshape.c
scilab/modules/scicos_blocks/src/c/mat_sing.c
scilab/modules/scicos_blocks/src/c/mat_sqrt.c
scilab/modules/scicos_blocks/src/c/mat_sum.c
scilab/modules/scicos_blocks/src/c/mat_sumc.c
scilab/modules/scicos_blocks/src/c/mat_suml.c
scilab/modules/scicos_blocks/src/c/mat_svd.c
scilab/modules/scicos_blocks/src/c/mat_vps.c
scilab/modules/scicos_blocks/src/c/mat_vpv.c
scilab/modules/scicos_blocks/src/c/matbyscal.c
scilab/modules/scicos_blocks/src/c/matbyscal_e.c
scilab/modules/scicos_blocks/src/c/matbyscal_s.c
scilab/modules/scicos_blocks/src/c/mathermit_m.c
scilab/modules/scicos_blocks/src/c/matmul2_e.c
scilab/modules/scicos_blocks/src/c/matmul2_m.c
scilab/modules/scicos_blocks/src/c/matmul2_s.c
scilab/modules/scicos_blocks/src/c/matmul_i16e.c
scilab/modules/scicos_blocks/src/c/matmul_i16n.c
scilab/modules/scicos_blocks/src/c/matmul_i16s.c
scilab/modules/scicos_blocks/src/c/matmul_i32e.c
scilab/modules/scicos_blocks/src/c/matmul_i32n.c
scilab/modules/scicos_blocks/src/c/matmul_i32s.c
scilab/modules/scicos_blocks/src/c/matmul_i8e.c
scilab/modules/scicos_blocks/src/c/matmul_i8n.c
scilab/modules/scicos_blocks/src/c/matmul_i8s.c
scilab/modules/scicos_blocks/src/c/matmul_m.c
scilab/modules/scicos_blocks/src/c/matmul_ui16e.c
scilab/modules/scicos_blocks/src/c/matmul_ui16n.c
scilab/modules/scicos_blocks/src/c/matmul_ui16s.c
scilab/modules/scicos_blocks/src/c/matmul_ui32e.c
scilab/modules/scicos_blocks/src/c/matmul_ui32n.c
scilab/modules/scicos_blocks/src/c/matmul_ui32s.c
scilab/modules/scicos_blocks/src/c/matmul_ui8e.c
scilab/modules/scicos_blocks/src/c/matmul_ui8n.c
scilab/modules/scicos_blocks/src/c/matmul_ui8s.c
scilab/modules/scicos_blocks/src/c/mattran_m.c
scilab/modules/scicos_blocks/src/c/matz_abs.c
scilab/modules/scicos_blocks/src/c/matz_absc.c
scilab/modules/scicos_blocks/src/c/matz_bksl.c
scilab/modules/scicos_blocks/src/c/matz_cath.c
scilab/modules/scicos_blocks/src/c/matz_catv.c
scilab/modules/scicos_blocks/src/c/matz_conj.c
scilab/modules/scicos_blocks/src/c/matz_det.c
scilab/modules/scicos_blocks/src/c/matz_diag.c
scilab/modules/scicos_blocks/src/c/matz_div.c
scilab/modules/scicos_blocks/src/c/matz_expm.c
scilab/modules/scicos_blocks/src/c/matz_inv.c
scilab/modules/scicos_blocks/src/c/matz_lu.c
scilab/modules/scicos_blocks/src/c/matz_pinv.c
scilab/modules/scicos_blocks/src/c/matz_reim.c
scilab/modules/scicos_blocks/src/c/matz_reimc.c
scilab/modules/scicos_blocks/src/c/matz_reshape.c
scilab/modules/scicos_blocks/src/c/matz_sing.c
scilab/modules/scicos_blocks/src/c/matz_sqrt.c
scilab/modules/scicos_blocks/src/c/matz_sum.c
scilab/modules/scicos_blocks/src/c/matz_sumc.c
scilab/modules/scicos_blocks/src/c/matz_suml.c
scilab/modules/scicos_blocks/src/c/matz_svd.c
scilab/modules/scicos_blocks/src/c/matz_vps.c
scilab/modules/scicos_blocks/src/c/matz_vpv.c
scilab/modules/scicos_blocks/src/c/matzmul2_m.c
scilab/modules/scicos_blocks/src/c/matzmul_m.c
scilab/modules/scicos_blocks/src/c/matztran_m.c
scilab/modules/scicos_blocks/src/c/minmax.c
scilab/modules/scicos_blocks/src/c/modulo_count.c
scilab/modules/scicos_blocks/src/c/mswitch.c
scilab/modules/scicos_blocks/src/c/multiplex.c
scilab/modules/scicos_blocks/src/c/plusblk.c
scilab/modules/scicos_blocks/src/c/prod.c
scilab/modules/scicos_blocks/src/c/product.c
scilab/modules/scicos_blocks/src/c/ramp.c
scilab/modules/scicos_blocks/src/c/ratelimiter.c
scilab/modules/scicos_blocks/src/c/readau.c
scilab/modules/scicos_blocks/src/c/readc.c
scilab/modules/scicos_blocks/src/c/relational_op.c
scilab/modules/scicos_blocks/src/c/relational_op_i16.c
scilab/modules/scicos_blocks/src/c/relational_op_i32.c
scilab/modules/scicos_blocks/src/c/relational_op_i8.c
scilab/modules/scicos_blocks/src/c/relational_op_ui16.c
scilab/modules/scicos_blocks/src/c/relational_op_ui32.c
scilab/modules/scicos_blocks/src/c/relational_op_ui8.c
scilab/modules/scicos_blocks/src/c/relationalop.c
scilab/modules/scicos_blocks/src/c/relay.c
scilab/modules/scicos_blocks/src/c/ricc_m.c
scilab/modules/scicos_blocks/src/c/rndblk_m.c
scilab/modules/scicos_blocks/src/c/rndblkz_m.c
scilab/modules/scicos_blocks/src/c/root_coef.c
scilab/modules/scicos_blocks/src/c/rootz_coef.c
scilab/modules/scicos_blocks/src/c/samphold4.c
scilab/modules/scicos_blocks/src/c/samphold4_m.c
scilab/modules/scicos_blocks/src/c/satur.c
scilab/modules/scicos_blocks/src/c/scalar2vector.c
scilab/modules/scicos_blocks/src/c/scicos_blocks.vcproj
scilab/modules/scicos_blocks/src/c/scicos_blocks_header.def [deleted file]
scilab/modules/scicos_blocks/src/c/scicosexit.c
scilab/modules/scicos_blocks/src/c/scoMisc.c
scilab/modules/scicos_blocks/src/c/scoWindowScope.c
scilab/modules/scicos_blocks/src/c/selector.c
scilab/modules/scicos_blocks/src/c/selector_m.c
scilab/modules/scicos_blocks/src/c/shift_16_LA.c
scilab/modules/scicos_blocks/src/c/shift_16_LC.c
scilab/modules/scicos_blocks/src/c/shift_16_RA.c
scilab/modules/scicos_blocks/src/c/shift_16_RC.c
scilab/modules/scicos_blocks/src/c/shift_32_LA.c
scilab/modules/scicos_blocks/src/c/shift_32_LC.c
scilab/modules/scicos_blocks/src/c/shift_32_RA.c
scilab/modules/scicos_blocks/src/c/shift_32_RC.c
scilab/modules/scicos_blocks/src/c/shift_8_LA.c
scilab/modules/scicos_blocks/src/c/shift_8_LC.c
scilab/modules/scicos_blocks/src/c/shift_8_RA.c
scilab/modules/scicos_blocks/src/c/shift_8_RC.c
scilab/modules/scicos_blocks/src/c/shift_u16_RA.c
scilab/modules/scicos_blocks/src/c/shift_u32_RA.c
scilab/modules/scicos_blocks/src/c/shift_u8_RA.c
scilab/modules/scicos_blocks/src/c/signum.c
scilab/modules/scicos_blocks/src/c/sin_blk.c
scilab/modules/scicos_blocks/src/c/sinh_blk.c
scilab/modules/scicos_blocks/src/c/step_func.c
scilab/modules/scicos_blocks/src/c/submat.c
scilab/modules/scicos_blocks/src/c/submatz.c
scilab/modules/scicos_blocks/src/c/sum.c
scilab/modules/scicos_blocks/src/c/summation.c
scilab/modules/scicos_blocks/src/c/summation_i16e.c
scilab/modules/scicos_blocks/src/c/summation_i16n.c
scilab/modules/scicos_blocks/src/c/summation_i16s.c
scilab/modules/scicos_blocks/src/c/summation_i32e.c
scilab/modules/scicos_blocks/src/c/summation_i32n.c
scilab/modules/scicos_blocks/src/c/summation_i32s.c
scilab/modules/scicos_blocks/src/c/summation_i8e.c
scilab/modules/scicos_blocks/src/c/summation_i8n.c
scilab/modules/scicos_blocks/src/c/summation_i8s.c
scilab/modules/scicos_blocks/src/c/summation_ui16e.c
scilab/modules/scicos_blocks/src/c/summation_ui16n.c
scilab/modules/scicos_blocks/src/c/summation_ui16s.c
scilab/modules/scicos_blocks/src/c/summation_ui32e.c
scilab/modules/scicos_blocks/src/c/summation_ui32n.c
scilab/modules/scicos_blocks/src/c/summation_ui32s.c
scilab/modules/scicos_blocks/src/c/summation_ui8e.c
scilab/modules/scicos_blocks/src/c/summation_ui8n.c
scilab/modules/scicos_blocks/src/c/summation_ui8s.c
scilab/modules/scicos_blocks/src/c/summation_z.c
scilab/modules/scicos_blocks/src/c/switch2.c
scilab/modules/scicos_blocks/src/c/switch2_m.c
scilab/modules/scicos_blocks/src/c/switchn.c
scilab/modules/scicos_blocks/src/c/tablex2d_c.c
scilab/modules/scicos_blocks/src/c/tan_blk.c
scilab/modules/scicos_blocks/src/c/tanh_blk.c
scilab/modules/scicos_blocks/src/c/tcslti4.c
scilab/modules/scicos_blocks/src/c/tcsltj4.c
scilab/modules/scicos_blocks/src/c/time_delay.c
scilab/modules/scicos_blocks/src/c/tows_c.c
scilab/modules/scicos_blocks/src/c/variable_delay.c
scilab/modules/scicos_blocks/src/c/whileiterator.c
scilab/modules/scicos_blocks/src/c/writeau.c
scilab/modules/scicos_blocks/src/c/writec.c
scilab/modules/scicos_blocks/src/c/zcross2.c
scilab/modules/scicos_blocks/src/scripts/generateblocksheader.sce

index d1211f7..95c2b63 100644 (file)
@@ -167,7 +167,9 @@ includes/gw_scicos.h \
 includes/scicos-def.h \
 includes/scicos_free.h \
 includes/scicos_malloc.h \
-includes/scicos_math.h
+includes/scicos_math.h \
+includes/import.h \
+includes/dynlib_scicos.h
 
 #### scicos : cosf files ####
 libsciscicos_la_cosfdir=$(mydatadir)
diff --git a/scilab/modules/scicos/includes/dynlib_scicos.h b/scilab/modules/scicos/includes/dynlib_scicos.h
new file mode 100644 (file)
index 0000000..38e391b
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+* 
+* 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
+*
+*/
+
+/*--------------------------------------------------------------------------*/ 
+#ifndef __DYNLIB_SCICOS_H__
+#define __DYNLIB_SCICOS_H__
+
+#ifdef _MSC_VER
+#ifdef SCICOS_EXPORTS
+#define SCICOS_IMPEXP __declspec(dllexport)
+#else
+#define SCICOS_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define SCICOS_IMPEXP
+#endif
+
+#endif /* __DYNLIB_SCICOS_H__ */
+/*--------------------------------------------------------------------------*/ 
index f96a865..cf0d2e6 100644 (file)
 #ifndef __GW_SCICOS__
 #define __GW_SCICOS__
 /*--------------------------------------------------------------------------*/
-#include "machine.h"
+#include "dynlib_scicos.h"
 #include "api_common.h"
 /*--------------------------------------------------------------------------*/
-int gw_scicos(void);
+SCICOS_IMPEXP int gw_scicos(void);
 /*--------------------------------------------------------------------------*/
 /* interface for the previous function Table */
 /*--------------------------------------------------------------------------*/
-int sci_var2vec(char *fname,unsigned long fname_len);
-int sci_vec2var(char *fname,unsigned long fname_len);
-int sci_getblocklabel(char *fname,unsigned long fname_len);
-int sci_scicos_debug(char *fname,unsigned long fname_len);
-int sci_scicos_debug_count(char *fname,unsigned long fname_len);
-int sci_sctree(char *fname,unsigned long fname_len);
-int sci_ftree2(char *fname,unsigned long fname_len);
-int sci_ftree3(char *fname,unsigned long fname_len);
-int sci_ftree4(char *fname,unsigned long fname_len);
-int sci_curblock(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_var2vec(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_vec2var(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_getblocklabel(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_scicos_debug(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_scicos_debug_count(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_sctree(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_ftree2(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_ftree3(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_ftree4(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_curblock(char *fname,unsigned long fname_len);
 
-int sci_scicos_time(char *fname,unsigned long fname_len);
-int sci_duplicate(char *fname,unsigned long fname_len);
-int sci_diffobjs(char *fname,unsigned long fname_len);
-int sci_pointer_xproperty(char *fname,unsigned long fname_len);
-int sci_phase_simulation(char *fname,unsigned long fname_len);
-int sci_set_xproperty(char *fname,unsigned long fname_len);
-int sci_set_blockerror(char *fname,unsigned long fname_len);
-int sci_ctree2(char *fname,unsigned long fname_len);
-int sci_ctree3(char *fname,unsigned long fname_len);
-int sci_ctree4(char *fname,unsigned long fname_len);
-int sci_scicosim(char *fname,unsigned long fname_len);
-int sci_getscicosvars(char *fname,unsigned long fname_len);
-int sci_curblockc(char *fname,unsigned long fname_len);
-int sci_buildouttb(char *fname,unsigned long fname_len);
-int sci_permutobj(char *fname,unsigned long fname_len);
-int sci_end_scicosim(char *fname,unsigned long fname_len);
-int sci_haltscicos(char *fname,unsigned long fname_len);
-int sci_coserror(char *fname, unsigned long fname_len);
+SCICOS_IMPEXP int sci_scicos_time(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_duplicate(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_diffobjs(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_pointer_xproperty(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_phase_simulation(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_set_xproperty(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_set_blockerror(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_ctree2(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_ctree3(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_ctree4(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_scicosim(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_getscicosvars(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_curblockc(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_buildouttb(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_permutobj(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_end_scicosim(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_haltscicos(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_coserror(char *fname, unsigned long fname_len);
 
 /* it was in a separate gateway */
-int sci_data2sig(char *fname,unsigned long fname_len);
-int sci_sig2data(char *fname,unsigned long fname_len);
-int sci_model2blk(char *fname,unsigned long fname_len);
-int sci_callblk(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_data2sig(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_sig2data(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_model2blk(char *fname,unsigned long fname_len);
+SCICOS_IMPEXP int sci_callblk(char *fname,unsigned long fname_len);
 
 /*--------------------------------------------------------------------------*/
 #endif /*  __GW_SCICOS__ */
similarity index 92%
rename from scilab/modules/scicos/src/c/import.h
rename to scilab/modules/scicos/includes/import.h
index 2164bf2..7192fb8 100644 (file)
 #ifndef __IMPORT_H__
 #define __IMPORT_H__
 
+#include "machine.h"
+
+#include "dynlib_scicos.h"
+
 #include "scicos_block4.h"
 
 typedef struct
@@ -105,7 +109,14 @@ typedef struct {
        double *xd;           /* 73 - derivative of continuous state */
 } ScicosImport;
 
-ScicosImport* getscicosimportptr(void);
-int getscicosvarsfromimport(char *what,void **v,int *nv,int *mv);
+SCICOS_IMPEXP ScicosImport* getscicosimportptr(void);
+
+SCICOS_IMPEXP int getscicosvarsfromimport(char *what,void **v,int *nv,int *mv);
+
+SCICOS_IMPEXP void C2F(getouttb)(int *nsize,int *nvec,double *outtc);
+
+SCICOS_IMPEXP void C2F(getlabel)(int *kfun, char *label,int *n);
+
+SCICOS_IMPEXP int C2F(getscilabel)(int *kfun, int label[], int *n);
 
 #endif /* __IMPORT_H__ */
index 5762e77..0d7c61b 100644 (file)
@@ -22,6 +22,7 @@
 #define __SCICOS_H 
 
 #include "machine.h"
+#include "dynlib_scicos.h"
 #include "scicos_block4.h"
 
 /* maximum value for sum of number of inputs and outputs ports of a given 
@@ -84,8 +85,54 @@ typedef  struct  {
   ScicosF fonc;
 } OpTab ;
 
+/**
+*
+*/
+SCICOS_IMPEXP int C2F(scicos)();
+
+/**
+*
+*/
+SCICOS_IMPEXP void callf(double *t, scicos_block *block, int *flag);
+
+/**
+*
+*/
+SCICOS_IMPEXP int get_phase_simulation(void);
+
+/**
+*
+*/
+SCICOS_IMPEXP void set_block_error(int err);
+
+/**
+*
+*/
+SCICOS_IMPEXP double get_scicos_time(void);
 
-int C2F(scicos)();
-void callf(double *t, scicos_block *block, int *flag);
+/**
+*
+*/
+SCICOS_IMPEXP void set_pointer_xproperty(int* pointer);
+
+/**
+*
+*/
+SCICOS_IMPEXP void do_cold_restart(void);
+
+/**
+*
+*/
+SCICOS_IMPEXP int get_block_number(void);
+
+/**
+*
+*/
+SCICOS_IMPEXP void end_scicos_sim(void);
+
+/**
+*
+*/
+SCICOS_IMPEXP void Coserror(char *fmt, ...);
 
 #endif 
index 3bf0cfe..02275ce 100644 (file)
@@ -22,7 +22,9 @@
 #ifndef __SCICOS_FREE_H__
 #define __SCICOS_FREE_H__
 
-void scicos_free(void *p);
+#include "dynlib_scicos.h"
+
+SCICOS_IMPEXP void scicos_free(void *p);
 
 #endif /*__SCICOS_FREE_H__*/
 
index fc8b273..bb88a9b 100644 (file)
@@ -22,7 +22,9 @@
 #ifndef __SCICOS_MALLOC_H__
 #define __SCICOS_MALLOC_H__
 
-void *scicos_malloc();
+#include "dynlib_scicos.h"
+
+SCICOS_IMPEXP void *scicos_malloc(size_t size);
 
 #endif /*__SCICOS_MALLOC_H__*/
 
index 75dd7d7..f9423c8 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include "machine.h"
 #include "import.h"
+#include "scicos.h"
 #include "cvstr.h"
 /*--------------------------------------------------------------------------*/
 extern struct {int kfun;} C2F(curblk);
index 235edd4..f5ab990 100644 (file)
@@ -2,8 +2,8 @@
 /* INRIA 2006 */
 /* Allan CORNET */
 /*--------------------------------------------------------------------------*/ 
+#include "gw_scicos.h"
 #include "Scierror.h"
-#include "noscicos.h"
 /*--------------------------------------------------------------------------*/ 
 int gw_scicos(void)
 {
@@ -11,8 +11,3 @@ int gw_scicos(void)
        return 0;
 }
 /*--------------------------------------------------------------------------*/ 
-int haltscicos(char *name, int *win, int *entry,long int name_len)
-{
-       return 0;
-} 
-/*--------------------------------------------------------------------------*/ 
index 58da7fa..16858f0 100644 (file)
@@ -45,7 +45,7 @@
                                Name="VCCLCompilerTool"
                                Optimization="0"
                                AdditionalIncludeDirectories="../../../../core/includes;../../../../output_stream/includes;../../../includes;../../../../../libs/intl;../../../../intersci/includes;../../../api_scilab/includes"
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;NOTCLSCI_EXPORTS"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;SCICOS_EXPORTS"
                                MinimalRebuild="true"
                                BasicRuntimeChecks="0"
                                RuntimeLibrary="3"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\..\bin\dumpexts -o %%~nf.def -n noscicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def noscicostmp.def &gt;nul&#x0D;&#x0A;copy ..\noscicos_header.def+noscicostmp.def  ..\noscicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine=""
                        />
                        <Tool
                                Name="VCLinkerTool"
                                OutputFile="../../../../../bin/noscicos.dll"
                                LinkIncremental="1"
-                               ModuleDefinitionFile="noscicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="true"
                                SubSystem="2"
                                RandomizedBaseAddress="1"
                                Name="VCCLCompilerTool"
                                Optimization="0"
                                AdditionalIncludeDirectories="../../../../core/includes;../../../../output_stream/includes;../../../includes;../../../../../libs/intl;../../../../intersci/includes;../../../api_scilab/includes"
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;NOTCLSCI_EXPORTS"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;SCICOS_EXPORTS"
                                MinimalRebuild="true"
                                BasicRuntimeChecks="0"
                                RuntimeLibrary="3"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\..\bin\dumpexts -o %%~nf.def -n noscicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def noscicostmp.def &gt;nul&#x0D;&#x0A;copy ..\noscicos_header.def+noscicostmp.def  ..\noscicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine=""
                        />
                        <Tool
                                Name="VCLinkerTool"
                                OutputFile="../../../../../bin/noscicos.dll"
                                LinkIncremental="1"
-                               ModuleDefinitionFile="noscicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="true"
                                SubSystem="2"
                                RandomizedBaseAddress="1"
                                FavorSizeOrSpeed="1"
                                WholeProgramOptimization="false"
                                AdditionalIncludeDirectories="../../../../core/includes;../../../../output_stream/includes;../../../includes;../../../../../libs/intl;../../../../intersci/includes;../../../api_scilab/includes"
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;NOTCLSCI_EXPORTS"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;SCICOS_EXPORTS"
                                StringPooling="true"
                                RuntimeLibrary="2"
                                EnableEnhancedInstructionSet="0"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\..\bin\dumpexts -o %%~nf.def -n noscicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def noscicostmp.def &gt;nul&#x0D;&#x0A;copy ..\noscicos_header.def+noscicostmp.def  ..\noscicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine=""
                        />
                        <Tool
                                Name="VCLinkerTool"
                                OutputFile="../../../../../bin/noscicos.dll"
                                LinkIncremental="1"
-                               ModuleDefinitionFile="noscicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="false"
                                SubSystem="2"
                                OptimizeReferences="2"
                                FavorSizeOrSpeed="1"
                                WholeProgramOptimization="false"
                                AdditionalIncludeDirectories="../../../../core/includes;../../../../output_stream/includes;../../../includes;../../../../../libs/intl;../../../../intersci/includes;../../../api_scilab/includes"
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;NOTCLSCI_EXPORTS"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;SCICOS_EXPORTS"
                                StringPooling="true"
                                RuntimeLibrary="2"
                                EnableEnhancedInstructionSet="0"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\..\bin\dumpexts -o %%~nf.def -n noscicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def noscicostmp.def &gt;nul&#x0D;&#x0A;copy ..\noscicos_header.def+noscicostmp.def  ..\noscicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine=""
                        />
                        <Tool
                                Name="VCLinkerTool"
                                OutputFile="../../../../../bin/noscicos.dll"
                                LinkIncremental="1"
-                               ModuleDefinitionFile="noscicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="false"
                                SubSystem="2"
                                OptimizeReferences="2"
index fcfc120..6877830 100644 (file)
@@ -24,6 +24,7 @@
 #include "stack-c.h"
 #include "scicos_block4.h"
 #include "Scierror.h"
+#include "scicos.h"
 #include "sciblk4.h"
 #include "import.h"
 #include "createblklist.h"
index 14667f3..a446006 100644 (file)
@@ -90,7 +90,7 @@ typedef struct {
                    when updating mode variables during initialization */
 } *UserData;
 
-IMPORT_SCICOS SCSPTR_struct C2F(scsptr);
+SCICOS_IMPEXP SCSPTR_struct C2F(scsptr);
 /*--------------------------------------------------------------------------*/
 
 #define freeall                                        \
@@ -194,15 +194,15 @@ static int AJacobian_block = 0;
  * multiple declaration of the variable and linkers were complaining about duplicate
  * symbols
  */
-COSDEBUGCOUNTER_struct C2F(cosdebugcounter);
-IMPORT_SCICOS RTFACTOR_struct C2F(rtfactor);
-IMPORT_SCICOS  SOLVER_struct C2F(cmsolver);
-IMPORT_SCICOS CURBLK_struct C2F(curblk);
-IMPORT_SCICOS COSDEBUG_struct C2F(cosdebug);
-IMPORT_SCICOS COSHLT_struct C2F(coshlt);
-IMPORT_SCICOS DBCOS_struct C2F(dbcos);
-IMPORT_SCICOS COSTOL_struct C2F(costol);
-IMPORT_SCICOS COSERR_struct coserr;
+SCICOS_IMPEXP COSDEBUGCOUNTER_struct C2F(cosdebugcounter);
+SCICOS_IMPEXP RTFACTOR_struct C2F(rtfactor);
+SCICOS_IMPEXP SOLVER_struct C2F(cmsolver);
+SCICOS_IMPEXP CURBLK_struct C2F(curblk);
+SCICOS_IMPEXP COSDEBUG_struct C2F(cosdebug);
+SCICOS_IMPEXP COSHLT_struct C2F(coshlt);
+SCICOS_IMPEXP DBCOS_struct C2F(dbcos);
+SCICOS_IMPEXP COSTOL_struct C2F(costol);
+SCICOS_IMPEXP COSERR_struct coserr;
 /*--------------------------------------------------------------------------*/
 static void FREE_blocks();
 static void cosini(double *told);
@@ -4397,12 +4397,12 @@ static int scicos_setmode(double *W,double *x,double *told,int *jroot,double tto
   return 0;
 }
 /*--------------------------------------------------------------------------*/
-int get_phase_simulation()
+int get_phase_simulation(void)
 {
   return phase;
 }
 /*--------------------------------------------------------------------------*/
-void do_cold_restart()
+void do_cold_restart(void)
 {
   hot = 0;
 }
@@ -4410,7 +4410,7 @@ void do_cold_restart()
 /* get_scicos_time : return the current
  * simulation time
  */
-double get_scicos_time()
+double get_scicos_time(void)
 {
   return scicos_time;
 }
@@ -4418,7 +4418,7 @@ double get_scicos_time()
 /* get_block_number : return the current
  * block number
  */
-int get_block_number()
+int get_block_number(void)
 {
   return C2F(curblk).kfun;
 }
index eea5f50..d33ac3b 100644 (file)
@@ -64,7 +64,7 @@
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def scicostmp.def &gt;nul&#x0D;&#x0A;copy ..\scicos_header.def+scicostmp.def  ..\scicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
@@ -72,7 +72,7 @@
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmdd.lib"
-                               ModuleDefinitionFile="scicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="true"
                                SubSystem="2"
                                RandomizedBaseAddress="1"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def scicostmp.def &gt;nul&#x0D;&#x0A;copy ..\scicos_header.def+scicostmp.def  ..\scicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmdd.lib"
-                               ModuleDefinitionFile="scicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="true"
                                SubSystem="2"
                                RandomizedBaseAddress="1"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def scicostmp.def &gt;nul&#x0D;&#x0A;copy ..\scicos_header.def+scicostmp.def  ..\scicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmd.lib"
-                               ModuleDefinitionFile="scicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="false"
                                SubSystem="2"
                                OptimizeReferences="2"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scicos.dll %%f &gt;nul&#x0D;&#x0A;copy *.def scicostmp.def &gt;nul&#x0D;&#x0A;copy ..\scicos_header.def+scicostmp.def  ..\scicos.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Dynamic_link_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)dynamic_link.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Graphics_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)graphics.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Scicos_blocks_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scicos_blocks_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Intersci_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)intersci.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Action_binding_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sciaction_binding.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Localization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)scilocalization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmd.lib"
-                               ModuleDefinitionFile="scicos.def"
+                               ModuleDefinitionFile=""
                                GenerateDebugInformation="false"
                                SubSystem="2"
                                OptimizeReferences="2"
                                >
                        </File>
                        <File
+                               RelativePath="..\..\includes\dynlib_scicos.h"
+                               >
+                       </File>
+                       <File
                                RelativePath=".\extractblklist.h"
                                >
                        </File>
                                >
                        </File>
                        <File
-                               RelativePath=".\import.h"
+                               RelativePath="..\..\includes\import.h"
                                >
                        </File>
                        <File
                <Filter
                        Name="Libraries Dependencies"
                        >
-                       <File
-                               RelativePath=".\scicos_header.def"
-                               >
-                       </File>
                        <Filter
                                Name="Imports"
                                >
index dd67ae1..ed08461 100644 (file)
@@ -20,6 +20,7 @@
 */
 /*--------------------------------------------------------------------------*/
 #include "MALLOC.h"
+#include "scicos_free.h"
 #include "scicos_block.h"
 /*--------------------------------------------------------------------------*/
 #define SCICOS_FREE(x) FREE((char *) x);
diff --git a/scilab/modules/scicos/src/c/scicos_header.def b/scilab/modules/scicos/src/c/scicos_header.def
deleted file mode 100644 (file)
index 3c6789b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-LIBRARY    scicos.dll
-
-
-EXPORTS
-; default export
-       dbcos_
-       curblk_
-       costol_
-       cosdebugcounter_
-       cosdebug_  
-       scsptr_
-       coshlt_
-
-       
\ No newline at end of file
index 1615a0a..6eb33e8 100644 (file)
@@ -20,6 +20,7 @@
 */
 /*--------------------------------------------------------------------------*/
 #include "MALLOC.h"  /* malloc */
+#include "scicos_malloc.h"
 #include "scicos_block.h"
 /*--------------------------------------------------------------------------*/
 void * scicos_malloc(size_t size)
index c1c23da..42a9407 100644 (file)
@@ -488,7 +488,8 @@ includes/scoMisc.h \
 includes/scoSetProperty.h \
 includes/scoWindowScope.h \
 includes/blocks.h \
-includes/affich.h
+includes/affich.h \
+includes/dynlib_scicos_blocks.h
 
 
 #### scicos_blocks : MACROS ####
index 392f495..0b106ce 100644 (file)
 #ifndef _AFFICH_H_
 #define _AFFICH_H_
 
+#include "dynlib_scicos_blocks.h"
 #include "machine.h" /* C2F */
 
 /**
 * Update of one element of the text object used by Affich2 block.
 */
-void C2F(settxtel)(int * numRow, 
+SCICOS_BLOCKS_IMPEXP void C2F(settxtel)(int * numRow, 
                                   int * numCol,
                                   double * winNum,
                                   double * textIndex,
@@ -29,13 +30,13 @@ void C2F(settxtel)(int * numRow,
 /**
 * Printing of the text object element used by Affich2 routine
 */
-void C2F(affup2)( double * winNum, 
+SCICOS_BLOCKS_IMPEXP void C2F(affup2)( double * winNum, 
                                 double * textIndex);
 /**
 * Printing of the text object element used by affich.f routine
 */
 
-void C2F(affichup)( double * textIndex,
+SCICOS_BLOCKS_IMPEXP void C2F(affichup)( double * textIndex,
                     double * winNum,
                     char * value,
                     int valueLength);
index 4b82721..d7b849f 100644 (file)
 #define __SCICOS_BLOCKS_H__
 
 #include "machine.h"
+#include "dynlib_scicos_blocks.h"
 #include "scicos.h"
 
 /******* Please do not edit *************/
 
-extern void C2F(zcross)(ARGS_scicos);
-extern void C2F(writef)(ARGS_scicos);
-extern void C2F(trash)(ARGS_scicos);
-extern void C2F(timblk)(ARGS_scicos);
-extern void C2F(tcsltj)(ARGS_scicos);
-extern void C2F(tcslti)(ARGS_scicos);
-extern void C2F(tanblk)(ARGS_scicos);
-extern void C2F(sum3)(ARGS_scicos);
-extern void C2F(sum2)(ARGS_scicos);
-extern void C2F(sqrblk)(ARGS_scicos);
-extern void C2F(sinblk)(ARGS_scicos);
-extern void C2F(selblk)(ARGS_scicos);
-extern void C2F(sciblk)(ARGS_scicos);
-extern void C2F(sawtth)(ARGS_scicos);
-extern void C2F(samphold)(ARGS_scicos);
-extern void C2F(rndblk)(ARGS_scicos);
-extern void C2F(readf)(ARGS_scicos);
-extern void C2F(qztrn)(ARGS_scicos);
-extern void C2F(qzrnd)(ARGS_scicos);
-extern void C2F(qzflr)(ARGS_scicos);
-extern void C2F(qzcel)(ARGS_scicos);
-extern void C2F(powblk)(ARGS_scicos);
-extern void C2F(pload)(ARGS_scicos);
-extern void C2F(mux)(ARGS_scicos);
-extern void C2F(minblk)(ARGS_scicos);
-extern void C2F(mfclck)(ARGS_scicos);
-extern void C2F(memo)(ARGS_scicos);
-extern void C2F(maxblk)(ARGS_scicos);
-extern void C2F(lusat)(ARGS_scicos);
-extern void C2F(lsplit)(ARGS_scicos);
-extern void C2F(lookup)(ARGS_scicos);
-extern void C2F(logblk)(ARGS_scicos);
-extern void C2F(iocopy)(ARGS_scicos);
-extern void C2F(invblk)(ARGS_scicos);
-extern void C2F(intrpl)(ARGS_scicos);
-extern void C2F(intrp2)(ARGS_scicos);
-extern void C2F(intpol)(ARGS_scicos);
-extern void C2F(intplt)(ARGS_scicos);
-extern void C2F(integr)(ARGS_scicos);
-extern void C2F(ifthel)(ARGS_scicos);
-extern void C2F(hltblk)(ARGS_scicos);
-extern void C2F(gensqr)(ARGS_scicos);
-extern void C2F(gensin)(ARGS_scicos);
-extern void C2F(fsv)(ARGS_scicos);
-extern void C2F(forblk)(ARGS_scicos);
-extern void C2F(expblk)(ARGS_scicos);
-extern void C2F(evtdly)(ARGS_scicos);
-extern void C2F(eselect)(ARGS_scicos);
-extern void C2F(dsslti)(ARGS_scicos);
-extern void C2F(dollar)(ARGS_scicos);
-extern void C2F(dlradp)(ARGS_scicos);
-extern void C2F(diffblk)(ARGS_scicos);
-extern void C2F(demux)(ARGS_scicos);
-extern void C2F(delayv)(ARGS_scicos);
-extern void C2F(delay)(ARGS_scicos);
-extern void C2F(cstblk)(ARGS_scicos);
-extern void C2F(csslti)(ARGS_scicos);
-extern void C2F(affich2)(ARGS_scicos);
-extern void C2F(affich)(ARGS_scicos);
-extern void zcross2(ARGS_scicos);
-extern void writec(ARGS_scicos);
-extern void writeau(ARGS_scicos);
-extern void whileiterator(ARGS_scicos);
-extern void variable_delay(ARGS_scicos);
-extern void tows_c(ARGS_scicos);
-extern void time_delay(ARGS_scicos);
-extern void tcsltj4(ARGS_scicos);
-extern void tcslti4(ARGS_scicos);
-extern void tanh_blk(ARGS_scicos);
-extern void tan_blk(ARGS_scicos);
-extern void tablex2d_c(ARGS_scicos);
-extern void switchn(ARGS_scicos);
-extern void switch2_m(ARGS_scicos);
-extern void switch2(ARGS_scicos);
-extern void summation_z(ARGS_scicos);
-extern void summation_ui8s(ARGS_scicos);
-extern void summation_ui8n(ARGS_scicos);
-extern void summation_ui8e(ARGS_scicos);
-extern void summation_ui32s(ARGS_scicos);
-extern void summation_ui32n(ARGS_scicos);
-extern void summation_ui32e(ARGS_scicos);
-extern void summation_ui16s(ARGS_scicos);
-extern void summation_ui16n(ARGS_scicos);
-extern void summation_ui16e(ARGS_scicos);
-extern void summation_i8s(ARGS_scicos);
-extern void summation_i8n(ARGS_scicos);
-extern void summation_i8e(ARGS_scicos);
-extern void summation_i32s(ARGS_scicos);
-extern void summation_i32n(ARGS_scicos);
-extern void summation_i32e(ARGS_scicos);
-extern void summation_i16s(ARGS_scicos);
-extern void summation_i16n(ARGS_scicos);
-extern void summation_i16e(ARGS_scicos);
-extern void summation(ARGS_scicos);
-extern void sum(ARGS_scicos);
-extern void submatz(ARGS_scicos);
-extern void submat(ARGS_scicos);
-extern void step_func(ARGS_scicos);
-extern void sinh_blk(ARGS_scicos);
-extern void sin_blk(ARGS_scicos);
-extern void signum(ARGS_scicos);
-extern void shift_u8_RA(ARGS_scicos);
-extern void shift_u32_RA(ARGS_scicos);
-extern void shift_u16_RA(ARGS_scicos);
-extern void shift_8_RC(ARGS_scicos);
-extern void shift_8_RA(ARGS_scicos);
-extern void shift_8_LC(ARGS_scicos);
-extern void shift_8_LA(ARGS_scicos);
-extern void shift_32_RC(ARGS_scicos);
-extern void shift_32_RA(ARGS_scicos);
-extern void shift_32_LC(ARGS_scicos);
-extern void shift_32_LA(ARGS_scicos);
-extern void shift_16_RC(ARGS_scicos);
-extern void shift_16_RA(ARGS_scicos);
-extern void shift_16_LC(ARGS_scicos);
-extern void shift_16_LA(ARGS_scicos);
-extern void selector_m(ARGS_scicos);
-extern void selector(ARGS_scicos);
-extern void scicosexit(ARGS_scicos);
-extern void scalar2vector(ARGS_scicos);
-extern void satur(ARGS_scicos);
-extern void samphold4_m(ARGS_scicos);
-extern void samphold4(ARGS_scicos);
-extern void rootz_coef(ARGS_scicos);
-extern void root_coef(ARGS_scicos);
-extern void rndblkz_m(ARGS_scicos);
-extern void rndblk_m(ARGS_scicos);
-extern void ricc_m(ARGS_scicos);
-extern void relay(ARGS_scicos);
-extern void relationalop(ARGS_scicos);
-extern void relational_op_ui8(ARGS_scicos);
-extern void relational_op_ui32(ARGS_scicos);
-extern void relational_op_ui16(ARGS_scicos);
-extern void relational_op_i8(ARGS_scicos);
-extern void relational_op_i32(ARGS_scicos);
-extern void relational_op_i16(ARGS_scicos);
-extern void relational_op(ARGS_scicos);
-extern void readc(ARGS_scicos);
-extern void readau(ARGS_scicos);
-extern void ratelimiter(ARGS_scicos);
-extern void ramp(ARGS_scicos);
-extern void product(ARGS_scicos);
-extern void prod(ARGS_scicos);
-extern void plusblk(ARGS_scicos);
-extern void multiplex(ARGS_scicos);
-extern void mswitch(ARGS_scicos);
-extern void modulo_count(ARGS_scicos);
-extern void minmax(ARGS_scicos);
-extern void matztran_m(ARGS_scicos);
-extern void matzmul_m(ARGS_scicos);
-extern void matzmul2_m(ARGS_scicos);
-extern void matz_vpv(ARGS_scicos);
-extern void matz_vps(ARGS_scicos);
-extern void matz_svd(ARGS_scicos);
-extern void matz_suml(ARGS_scicos);
-extern void matz_sumc(ARGS_scicos);
-extern void matz_sum(ARGS_scicos);
-extern void matz_sqrt(ARGS_scicos);
-extern void matz_sing(ARGS_scicos);
-extern void matz_reshape(ARGS_scicos);
-extern void matz_reimc(ARGS_scicos);
-extern void matz_reim(ARGS_scicos);
-extern void matz_pinv(ARGS_scicos);
-extern void matz_lu(ARGS_scicos);
-extern void matz_inv(ARGS_scicos);
-extern void matz_expm(ARGS_scicos);
-extern void matz_div(ARGS_scicos);
-extern void matz_diag(ARGS_scicos);
-extern void matz_det(ARGS_scicos);
-extern void matz_conj(ARGS_scicos);
-extern void matz_catv(ARGS_scicos);
-extern void matz_cath(ARGS_scicos);
-extern void matz_bksl(ARGS_scicos);
-extern void matz_absc(ARGS_scicos);
-extern void matz_abs(ARGS_scicos);
-extern void mattran_m(ARGS_scicos);
-extern void matmul_ui8s(ARGS_scicos);
-extern void matmul_ui8n(ARGS_scicos);
-extern void matmul_ui8e(ARGS_scicos);
-extern void matmul_ui32s(ARGS_scicos);
-extern void matmul_ui32n(ARGS_scicos);
-extern void matmul_ui32e(ARGS_scicos);
-extern void matmul_ui16s(ARGS_scicos);
-extern void matmul_ui16n(ARGS_scicos);
-extern void matmul_ui16e(ARGS_scicos);
-extern void matmul_m(ARGS_scicos);
-extern void matmul_i8s(ARGS_scicos);
-extern void matmul_i8n(ARGS_scicos);
-extern void matmul_i8e(ARGS_scicos);
-extern void matmul_i32s(ARGS_scicos);
-extern void matmul_i32n(ARGS_scicos);
-extern void matmul_i32e(ARGS_scicos);
-extern void matmul_i16s(ARGS_scicos);
-extern void matmul_i16n(ARGS_scicos);
-extern void matmul_i16e(ARGS_scicos);
-extern void matmul2_s(ARGS_scicos);
-extern void matmul2_m(ARGS_scicos);
-extern void matmul2_e(ARGS_scicos);
-extern void mathermit_m(ARGS_scicos);
-extern void matbyscal_s(ARGS_scicos);
-extern void matbyscal_e(ARGS_scicos);
-extern void matbyscal(ARGS_scicos);
-extern void mat_vpv(ARGS_scicos);
-extern void mat_vps(ARGS_scicos);
-extern void mat_svd(ARGS_scicos);
-extern void mat_suml(ARGS_scicos);
-extern void mat_sumc(ARGS_scicos);
-extern void mat_sum(ARGS_scicos);
-extern void mat_sqrt(ARGS_scicos);
-extern void mat_sing(ARGS_scicos);
-extern void mat_reshape(ARGS_scicos);
-extern void mat_pinv(ARGS_scicos);
-extern void mat_lu(ARGS_scicos);
-extern void mat_inv(ARGS_scicos);
-extern void mat_expm(ARGS_scicos);
-extern void mat_div(ARGS_scicos);
-extern void mat_diag(ARGS_scicos);
-extern void mat_det(ARGS_scicos);
-extern void mat_catv(ARGS_scicos);
-extern void mat_cath(ARGS_scicos);
-extern void mat_bksl(ARGS_scicos);
-extern void m_frequ(ARGS_scicos);
-extern void lookup_c(ARGS_scicos);
-extern void lookup2d(ARGS_scicos);
-extern void logicalop_ui8(ARGS_scicos);
-extern void logicalop_ui32(ARGS_scicos);
-extern void logicalop_ui16(ARGS_scicos);
-extern void logicalop_m(ARGS_scicos);
-extern void logicalop_i8(ARGS_scicos);
-extern void logicalop_i32(ARGS_scicos);
-extern void logicalop_i16(ARGS_scicos);
-extern void logicalop(ARGS_scicos);
-extern void logic(ARGS_scicos);
-extern void invblk4(ARGS_scicos);
-extern void integralz_func(ARGS_scicos);
-extern void integral_func(ARGS_scicos);
-extern void hystheresis(ARGS_scicos);
-extern void gainblk_ui8s(ARGS_scicos);
-extern void gainblk_ui8n(ARGS_scicos);
-extern void gainblk_ui8e(ARGS_scicos);
-extern void gainblk_ui32s(ARGS_scicos);
-extern void gainblk_ui32n(ARGS_scicos);
-extern void gainblk_ui32e(ARGS_scicos);
-extern void gainblk_ui16s(ARGS_scicos);
-extern void gainblk_ui16n(ARGS_scicos);
-extern void gainblk_ui16e(ARGS_scicos);
-extern void gainblk_i8s(ARGS_scicos);
-extern void gainblk_i8n(ARGS_scicos);
-extern void gainblk_i8e(ARGS_scicos);
-extern void gainblk_i32s(ARGS_scicos);
-extern void gainblk_i32n(ARGS_scicos);
-extern void gainblk_i32e(ARGS_scicos);
-extern void gainblk_i16s(ARGS_scicos);
-extern void gainblk_i16n(ARGS_scicos);
-extern void gainblk_i16e(ARGS_scicos);
-extern void gainblk(ARGS_scicos);
-extern void gain(ARGS_scicos);
-extern void fromws_c(ARGS_scicos);
-extern void foriterator(ARGS_scicos);
-extern void exttriuz(ARGS_scicos);
-extern void exttriu(ARGS_scicos);
-extern void exttrilz(ARGS_scicos);
-extern void exttril(ARGS_scicos);
-extern void extractz(ARGS_scicos);
-extern void extractor(ARGS_scicos);
-extern void extract_bit_u8_UH1(ARGS_scicos);
-extern void extract_bit_u8_RB1(ARGS_scicos);
-extern void extract_bit_u8_MSB1(ARGS_scicos);
-extern void extract_bit_u32_UH1(ARGS_scicos);
-extern void extract_bit_u32_RB1(ARGS_scicos);
-extern void extract_bit_u32_MSB1(ARGS_scicos);
-extern void extract_bit_u16_UH1(ARGS_scicos);
-extern void extract_bit_u16_RB1(ARGS_scicos);
-extern void extract_bit_u16_MSB1(ARGS_scicos);
-extern void extract_bit_8_UH1(ARGS_scicos);
-extern void extract_bit_8_UH0(ARGS_scicos);
-extern void extract_bit_8_RB1(ARGS_scicos);
-extern void extract_bit_8_RB0(ARGS_scicos);
-extern void extract_bit_8_MSB1(ARGS_scicos);
-extern void extract_bit_8_MSB0(ARGS_scicos);
-extern void extract_bit_8_LSB(ARGS_scicos);
-extern void extract_bit_8_LH(ARGS_scicos);
-extern void extract_bit_32_UH1(ARGS_scicos);
-extern void extract_bit_32_UH0(ARGS_scicos);
-extern void extract_bit_32_RB1(ARGS_scicos);
-extern void extract_bit_32_RB0(ARGS_scicos);
-extern void extract_bit_32_MSB1(ARGS_scicos);
-extern void extract_bit_32_MSB0(ARGS_scicos);
-extern void extract_bit_32_LSB(ARGS_scicos);
-extern void extract_bit_32_LH(ARGS_scicos);
-extern void extract_bit_16_UH1(ARGS_scicos);
-extern void extract_bit_16_UH0(ARGS_scicos);
-extern void extract_bit_16_RB1(ARGS_scicos);
-extern void extract_bit_16_RB0(ARGS_scicos);
-extern void extract_bit_16_MSB1(ARGS_scicos);
-extern void extract_bit_16_MSB0(ARGS_scicos);
-extern void extract_bit_16_LSB(ARGS_scicos);
-extern void extract_bit_16_LH(ARGS_scicos);
-extern void extract(ARGS_scicos);
-extern void extdiagz(ARGS_scicos);
-extern void extdiag(ARGS_scicos);
-extern void expblk_m(ARGS_scicos);
-extern void evtvardly(ARGS_scicos);
-extern void evtdly4(ARGS_scicos);
-extern void evaluate_expr(ARGS_scicos);
-extern void edgetrig(ARGS_scicos);
-extern void dsslti4(ARGS_scicos);
-extern void dollar4_m(ARGS_scicos);
-extern void dollar4(ARGS_scicos);
-extern void dmmul1(ARGS_scicos);
-extern void dmmul(ARGS_scicos);
-extern void diffblk_c(ARGS_scicos);
-extern void deriv(ARGS_scicos);
-extern void delay4_ui8(ARGS_scicos);
-extern void delay4_ui32(ARGS_scicos);
-extern void delay4_ui16(ARGS_scicos);
-extern void delay4_i8(ARGS_scicos);
-extern void delay4_i32(ARGS_scicos);
-extern void delay4_i16(ARGS_scicos);
-extern void delay4(ARGS_scicos);
-extern void deadband(ARGS_scicos);
-extern void dband(ARGS_scicos);
-extern void curve_c(ARGS_scicos);
-extern void cumsumz_r(ARGS_scicos);
-extern void cumsumz_m(ARGS_scicos);
-extern void cumsumz_c(ARGS_scicos);
-extern void cumsum_r(ARGS_scicos);
-extern void cumsum_m(ARGS_scicos);
-extern void cumsum_c(ARGS_scicos);
-extern void cstblk4_m(ARGS_scicos);
-extern void cstblk4(ARGS_scicos);
-extern void csslti4(ARGS_scicos);
-extern void cscopxy3d(ARGS_scicos);
-extern void cscopxy(ARGS_scicos);
-extern void cscope(ARGS_scicos);
-extern void counter(ARGS_scicos);
-extern void cosh_blk(ARGS_scicos);
-extern void cosblk(ARGS_scicos);
-extern void cos_blk(ARGS_scicos);
-extern void convert(ARGS_scicos);
-extern void constraint_c(ARGS_scicos);
-extern void cmscope(ARGS_scicos);
-extern void cmatview(ARGS_scicos);
-extern void cmat3d(ARGS_scicos);
-extern void cfscope(ARGS_scicos);
-extern void cevscpe(ARGS_scicos);
-extern void cdummy(ARGS_scicos);
-extern void canimxy3d(ARGS_scicos);
-extern void canimxy(ARGS_scicos);
-extern void bouncexy(ARGS_scicos);
-extern void bounce_ball(ARGS_scicos);
-extern void bit_set_8(ARGS_scicos);
-extern void bit_set_32(ARGS_scicos);
-extern void bit_set_16(ARGS_scicos);
-extern void bit_clear_8(ARGS_scicos);
-extern void bit_clear_32(ARGS_scicos);
-extern void bit_clear_16(ARGS_scicos);
-extern void bidon(ARGS_scicos);
-extern void backlash(ARGS_scicos);
-extern void automat(ARGS_scicos);
-extern void atanh_blk(ARGS_scicos);
-extern void atan_blk(ARGS_scicos);
-extern void assignment(ARGS_scicos);
-extern void asinh_blk(ARGS_scicos);
-extern void asin_blk(ARGS_scicos);
-extern void andlog(ARGS_scicos);
-extern void acosh_blk(ARGS_scicos);
-extern void acos_blk(ARGS_scicos);
-extern void absolute_value(ARGS_scicos);
-extern void absblk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(zcross)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(writef)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(trash)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(timblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(tcsltj)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(tcslti)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(tanblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(sum3)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(sum2)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(sqrblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(sinblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(selblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(sciblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(sawtth)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(samphold)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(rndblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(readf)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(qztrn)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(qzrnd)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(qzflr)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(qzcel)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(powblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(pload)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(mux)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(minblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(mfclck)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(memo)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(maxblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(lusat)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(lsplit)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(lookup)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(logblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(iocopy)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(invblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(intrpl)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(intrp2)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(intpol)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(intplt)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(integr)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(ifthel)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(hltblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(gensqr)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(gensin)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(fsv)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(forblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(expblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(evtdly)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(eselect)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(dsslti)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(dollar)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(dlradp)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(diffblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(demux)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(delayv)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(delay)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(cstblk)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(csslti)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(affich2)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void C2F(affich)(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void zcross2(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void writec(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void writeau(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void whileiterator(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void variable_delay(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void tows_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void time_delay(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void tcsltj4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void tcslti4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void tanh_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void tan_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void tablex2d_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void switchn(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void switch2_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void switch2(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_z(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui8s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui8n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui8e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui32s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui32n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui32e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui16s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui16n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_ui16e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i8s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i8n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i8e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i32s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i32n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i32e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i16s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i16n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation_i16e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void summation(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void sum(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void submatz(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void submat(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void step_func(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void sinh_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void sin_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void signum(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_u8_RA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_u32_RA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_u16_RA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_8_RC(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_8_RA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_8_LC(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_8_LA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_32_RC(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_32_RA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_32_LC(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_32_LA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_16_RC(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_16_RA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_16_LC(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void shift_16_LA(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void selector_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void selector(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void scicosexit(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void scalar2vector(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void satur(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void samphold4_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void samphold4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void rootz_coef(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void root_coef(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void rndblkz_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void rndblk_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void ricc_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relay(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relationalop(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relational_op_ui8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relational_op_ui32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relational_op_ui16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relational_op_i8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relational_op_i32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relational_op_i16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void relational_op(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void readc(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void readau(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void ratelimiter(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void ramp(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void product(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void prod(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void plusblk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void multiplex(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mswitch(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void modulo_count(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void minmax(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matztran_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matzmul_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matzmul2_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_vpv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_vps(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_svd(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_suml(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_sumc(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_sum(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_sqrt(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_sing(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_reshape(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_reimc(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_reim(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_pinv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_lu(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_inv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_expm(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_div(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_diag(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_det(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_conj(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_catv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_cath(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_bksl(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_absc(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matz_abs(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mattran_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui8s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui8n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui8e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui32s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui32n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui32e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui16s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui16n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_ui16e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i8s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i8n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i8e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i32s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i32n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i32e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i16s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i16n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul_i16e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul2_s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul2_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matmul2_e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mathermit_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matbyscal_s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matbyscal_e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void matbyscal(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_vpv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_vps(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_svd(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_suml(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_sumc(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_sum(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_sqrt(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_sing(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_reshape(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_pinv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_lu(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_inv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_expm(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_div(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_diag(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_det(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_catv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_cath(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void mat_bksl(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void m_frequ(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void lookup_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void lookup2d(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop_ui8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop_ui32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop_ui16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop_i8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop_i32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop_i16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logicalop(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void logic(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void invblk4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void integralz_func(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void integral_func(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void hystheresis(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui8s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui8n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui8e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui32s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui32n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui32e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui16s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui16n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_ui16e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i8s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i8n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i8e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i32s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i32n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i32e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i16s(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i16n(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk_i16e(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gainblk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void gain(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void fromws_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void foriterator(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void exttriuz(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void exttriu(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void exttrilz(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void exttril(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extractz(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extractor(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u8_UH1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u8_RB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u8_MSB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u32_UH1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u32_RB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u32_MSB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u16_UH1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u16_RB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_u16_MSB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_UH1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_UH0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_RB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_RB0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_MSB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_MSB0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_LSB(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_LH(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_UH1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_UH0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_RB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_RB0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_MSB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_MSB0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_LSB(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_LH(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_UH1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_UH0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_RB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_RB0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_MSB1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_MSB0(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_LSB(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_LH(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extract(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extdiagz(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void extdiag(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void expblk_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void evtvardly(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void evtdly4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void evaluate_expr(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void edgetrig(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void dsslti4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void dollar4_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void dollar4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void dmmul1(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void dmmul(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void diffblk_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void deriv(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void delay4_ui8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void delay4_ui32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void delay4_ui16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void delay4_i8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void delay4_i32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void delay4_i16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void delay4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void deadband(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void dband(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void curve_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cumsumz_r(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cumsumz_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cumsumz_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cumsum_r(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cumsum_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cumsum_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cstblk4_m(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cstblk4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void csslti4(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cscopxy3d(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cscopxy(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cscope(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void counter(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cosh_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cosblk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cos_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void convert(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void constraint_c(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cmscope(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cmatview(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cmat3d(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cfscope(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cevscpe(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void cdummy(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void canimxy3d(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void canimxy(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bouncexy(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bounce_ball(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bit_set_8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bit_set_32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bit_set_16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bit_clear_8(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bit_clear_32(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bit_clear_16(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void bidon(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void backlash(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void automat(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void atanh_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void atan_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void assignment(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void asinh_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void asin_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void andlog(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void acosh_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void acos_blk(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void absolute_value(ARGS_scicos);
+SCICOS_BLOCKS_IMPEXP void absblk(ARGS_scicos);
 
 #define SIZE_TAB_BLOCK_LIST 371
 int ntabsim = SIZE_TAB_BLOCK_LIST ;
diff --git a/scilab/modules/scicos_blocks/includes/dynlib_scicos_blocks.h b/scilab/modules/scicos_blocks/includes/dynlib_scicos_blocks.h
new file mode 100644 (file)
index 0000000..1794624
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+* 
+* 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
+*
+*/
+
+/*--------------------------------------------------------------------------*/ 
+#ifndef __DYNLIB_SCICOS_BLOCKS_H__
+#define __DYNLIB_SCICOS_BLOCKS_H__
+
+#ifdef _MSC_VER
+#ifdef SCICOS_BLOCKS_EXPORTS
+#define SCICOS_BLOCKS_IMPEXP __declspec(dllexport)
+#else
+#define SCICOS_BLOCKS_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define SCICOS_BLOCKS_IMPEXP
+#endif
+
+#endif /* __DYNLIB_SCICOS_BLOCKS_H__ */
+/*--------------------------------------------------------------------------*/ 
index f2c5d73..cb0ce77 100644 (file)
 #ifndef __SCICOS_BLOCK_H__
 #define __SCICOS_BLOCK_H__
 
-/**
-* Add header of scicos_malloc
-* scicos_free HERE
-* to do modify dynamic link with scicos
-*/
-
-extern void * scicos_malloc();
-extern void scicos_free(void *p);
+#include "dynlib_scicos_blocks.h"
 
 typedef void (*voidg)();
 
index 6b477a7..11d6175 100755 (executable)
@@ -34,6 +34,7 @@
 #define NULL 0
 #endif
 
+#include "dynlib_scicos_blocks.h"
 #include "scicos_math.h"
 
 typedef void (*voidg)();
@@ -124,18 +125,9 @@ typedef struct {
 #define ReInitialization 6
 
 /* utility function for block declaration */
-void do_cold_restart();
-int get_phase_simulation();
-double get_scicos_time();
-int get_block_number();
-void set_block_error(int);
 int get_block_error(void);
-void end_scicos_sim();
-void set_pointer_xproperty(int* pointer);
 int* get_pointer_xproperty();
 int get_npointer_xproperty();
-void * scicos_malloc(size_t);
-void scicos_free(void *p);
 double Get_Jacobian_cj(void);
 double Get_Jacobian_ci(void);
 double Get_Scicos_SQUR(void);
@@ -151,8 +143,6 @@ int read_xml_initial_states(int nvar,const char * xmlfile, char **ids, double *s
 int write_xml_states(int,const char *, char **, double *);
 
 
-void Coserror(char *fmt,...);
-
 
 /* Define scicos simulator data type number (_N) */
 #define SCSREAL_N 10
index 6632b1c..39ca11b 100755 (executable)
@@ -34,6 +34,8 @@
 
 #include "machine.h"
 
+#include "dynlib_scicos_blocks.h"
+
 /*Graphic Library*/
 #include "SetProperty.h"
 #include "GetProperty.h"
index 9e4f251..3e6c74b 100755 (executable)
 #ifndef __SCO_GET_PROPERTY_H__
 #define __SCO_GET_PROPERTY_H__
 
+#include "dynlib_scicos_blocks.h"
 #include "scoBase.h"
 
 /**
 \brief Get the internal time in seconds (micro or nano second max resolution)
 \return double
 */
-double scoGetRealTime(void);
+SCICOS_BLOCKS_IMPEXP double scoGetRealTime(void);
 
 
 /**
@@ -43,7 +44,7 @@ double scoGetRealTime(void);
 \param pScopeMemory a pointer on a ScopeMemory
 \return hScopeWindow
 */
-scoLongInteger scoGetHandleScopeWindow(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP scoLongInteger scoGetHandleScopeWindow(ScopeMemory * pScopeMemory);
 
 /**
 \brief Get the Handle of Axes i in the ScopeMemory where i is the index of the axes
@@ -51,7 +52,7 @@ scoLongInteger scoGetHandleScopeWindow(ScopeMemory * pScopeMemory);
 \param i index of an Axes
 \return hAxes[i]
 */
-scoLongInteger scoGetHandleAxes(ScopeMemory * pScopeMemory, int i);
+SCICOS_BLOCKS_IMPEXP scoLongInteger scoGetHandleAxes(ScopeMemory * pScopeMemory, int i);
 
 /**
 \brief Get the Handle of the ShortDraw i,j in the ScopeMemory where i is the index of the axes and j is the index of the curve in the axes
@@ -60,7 +61,7 @@ scoLongInteger scoGetHandleAxes(ScopeMemory * pScopeMemory, int i);
 \param j index of a curve
 \return hShortDraw[i][j]
 */
-scoLongInteger scoGetHandleShortDraw(ScopeMemory * pScopeMemory, int i, int j);
+SCICOS_BLOCKS_IMPEXP scoLongInteger scoGetHandleShortDraw(ScopeMemory * pScopeMemory, int i, int j);
 
 /**
 \brief Get the Handle of the LongDraw i,j in the ScopeMemory where i is the index of the axes and j is the index of the curve in the axes
@@ -69,7 +70,7 @@ scoLongInteger scoGetHandleShortDraw(ScopeMemory * pScopeMemory, int i, int j);
 \param j index of a curve
 \return hLongDraw[i][j]
 */
-scoLongInteger scoGetHandleLongDraw(ScopeMemory * pScopeMemory, int i, int j);
+SCICOS_BLOCKS_IMPEXP scoLongInteger scoGetHandleLongDraw(ScopeMemory * pScopeMemory, int i, int j);
 
 /**
 \brief Get the NewDraw value of Axes i in the ScopeMemory
@@ -77,7 +78,7 @@ scoLongInteger scoGetHandleLongDraw(ScopeMemory * pScopeMemory, int i, int j);
 \param i index of an axes
 \return new_draw[i]
 */
-scoInteger scoGetNewDraw(ScopeMemory * pScopeMemory, int i);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetNewDraw(ScopeMemory * pScopeMemory, int i);
 
 /**
 \brief Get the PeriodCounter of Axes i in the ScopeMemory
@@ -85,7 +86,7 @@ scoInteger scoGetNewDraw(ScopeMemory * pScopeMemory, int i);
 \param i index of an axes
 \return period_counter[i]
 */
-scoInteger scoGetPeriodCounter(ScopeMemory * pScopeMemory, int i);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetPeriodCounter(ScopeMemory * pScopeMemory, int i);
 
 /**
 \brief Get the TraceLength of the Axes i in the ScopeMemory
@@ -93,14 +94,14 @@ scoInteger scoGetPeriodCounter(ScopeMemory * pScopeMemory, int i);
 \param i index of an axes
 \return trace_length[i]
 */
-scoInteger scoGetLongDrawSize(ScopeMemory * pScopeMemory, int i);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetLongDrawSize(ScopeMemory * pScopeMemory, int i);
 
 /**
 \brief Get the NumberOfSubwin in the ScopeMemory
 \param pScopeMemory a pointer on a ScopeMemory
 \return number_of_subwin[i]
 */
-scoInteger scoGetNumberOfSubwin(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetNumberOfSubwin(ScopeMemory * pScopeMemory);
 
 /**
 \brief Get the NumberOfCurvesBySubwin of Axes i in the ScopeMemory
@@ -108,14 +109,14 @@ scoInteger scoGetNumberOfSubwin(ScopeMemory * pScopeMemory);
 \param i index of an axes
 \return number_of_curves_by_subwin[i]
 */
-scoInteger scoGetNumberOfCurvesBySubwin(ScopeMemory * pScopeMemory,int i);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetNumberOfCurvesBySubwin(ScopeMemory * pScopeMemory,int i);
 
 /**
 \brief Get the WindowID of the Scope Graphic Window in the ScopeMemory
 \param pScopeMemory a pointer on a ScopeMemory
 \return win_id
 */
-scoInteger scoGetWindowID(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetWindowID(ScopeMemory * pScopeMemory);
 
 /**
 \brief Get the BufferSize of the Axes i in the ScopeMemory
@@ -123,7 +124,7 @@ scoInteger scoGetWindowID(ScopeMemory * pScopeMemory);
 \param i index of an axes
 \return buffer_sze[i]
 */
-scoInteger scoGetShortDrawSize(ScopeMemory * pScopeMemory,int i);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetShortDrawSize(ScopeMemory * pScopeMemory,int i);
 
 /**
 \brief Get the Period of the Axes i in the ScopeMemory
@@ -131,7 +132,7 @@ scoInteger scoGetShortDrawSize(ScopeMemory * pScopeMemory,int i);
 \param i index of an axes
 \return period[i]
 */
-scoDouble scoGetPeriod(ScopeMemory * pScopeMemory, int i);
+SCICOS_BLOCKS_IMPEXP scoDouble scoGetPeriod(ScopeMemory * pScopeMemory, int i);
 
 
 /**
@@ -139,7 +140,7 @@ scoDouble scoGetPeriod(ScopeMemory * pScopeMemory, int i);
 \param pScopeMemory a pointer on a ScopeMemory
 \return an scoGraphicalObject which is the pointer on the Scope Window
 */
-scoGraphicalObject scoGetPointerScopeWindow(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoGetPointerScopeWindow(ScopeMemory * pScopeMemory);
 
 /**
 \brief Get the Pointer on Axes[i]
@@ -147,7 +148,7 @@ scoGraphicalObject scoGetPointerScopeWindow(ScopeMemory * pScopeMemory);
 \param i index of an axe
 \return an scoGraphicalObject which is the pointer on the Axes[i]
 */
-scoGraphicalObject scoGetPointerAxes(ScopeMemory * pScopeMemory, int i);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoGetPointerAxes(ScopeMemory * pScopeMemory, int i);
 
 /**
 \brief Get the Pointer on ShortDraw[i][j]
@@ -156,7 +157,7 @@ scoGraphicalObject scoGetPointerAxes(ScopeMemory * pScopeMemory, int i);
 \param j index of a curve in the Axes[i]
 \return an scoGraphicalObject which is the pointer on the ShortDraw[i][j]
 */
-scoGraphicalObject scoGetPointerShortDraw(ScopeMemory * pScopeMemory, int i, int j);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoGetPointerShortDraw(ScopeMemory * pScopeMemory, int i, int j);
 
 /**
 \brief Get the Pointer on LongDraw[i][j]
@@ -165,13 +166,13 @@ scoGraphicalObject scoGetPointerShortDraw(ScopeMemory * pScopeMemory, int i, int
 \param j index of a curve in the Axes[i]
 \return an scoGraphicalObject which is the pointer on the LongDraw[i][j]
 */
-scoGraphicalObject scoGetPointerLongDraw(ScopeMemory * pScopeMemory, int i, int j);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoGetPointerLongDraw(ScopeMemory * pScopeMemory, int i, int j);
 
 /**
 \brief Get status of activation of the block
 \return 1 activated or 0 deactivated (by default)
 
 */
-scoInteger scoGetScopeActivation(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetScopeActivation(ScopeMemory * pScopeMemory);
 
 #endif
index 845dbcd..4db45df 100644 (file)
@@ -29,6 +29,7 @@
 #ifndef __SCO_MEMORYSCOPE_H__
 #define __SCO_MEMORYSCOPE_H__
 
+#include "dynlib_scicos_blocks.h"
 #include"scoBase.h"
 
 /**
 \param number_of_subwin Number of Subwin in the whole Scope
 \param number_of_curves_by_subwin Number of Curves for the subwin[i]
 */
-void scoInitScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory, int number_of_subwin, int * number_of_curves_by_subwin);
+SCICOS_BLOCKS_IMPEXP void scoInitScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory, int number_of_subwin, int * number_of_curves_by_subwin);
 
 /**
 \brief Retrieve the whole ScopeMemory and put in the pScopeMemory
 \param block a pointer on a scicos_block, typically the bloc in agument of the computational function
 \param pScopeMemory a pointer on a pointer of a ScopeMemory, typically &pScopeMemory where pScopeMemory is a ScopeMemory *
 */
-void scoRetrieveScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory);
+SCICOS_BLOCKS_IMPEXP void scoRetrieveScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory);
 
 /**
 \brief Free the ScopeMemory which has been allocated by scicos_malloc in the scoInitScopeMemory
 \param block a pointer on a scicos_block, typically the bloc in agument of the computational function
 \param pScopeMemory a pointer on a pointer of a ScopeMemory, typically &pScopeMemory where pScopeMemory is a ScopeMemory *
 */
-void scoFreeScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory);
+SCICOS_BLOCKS_IMPEXP void scoFreeScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory);
 
 /**
 \brief Realloc to extend the size of the longdraw in the memory
@@ -61,6 +62,6 @@ void scoFreeScopeMemory(void ** block_work, ScopeMemory ** pScopeMemory);
 \param buffer_size Buffer size which would be added to the longdraw
 \param plus An other buffer size which is a security
 */
-void scoReallocLongDraw(scoGraphicalObject pLongDraw, int NbrPtsLong, int buffer_size, int plus);
+SCICOS_BLOCKS_IMPEXP void scoReallocLongDraw(scoGraphicalObject pLongDraw, int NbrPtsLong, int buffer_size, int plus);
 
 #endif
index c5bdd72..7df547a 100755 (executable)
@@ -29,6 +29,7 @@
 #ifndef __SCO_MISC_H__
 #define __SCO_MISC_H__
 
+#include "dynlib_scicos_blocks.h"
 #include"scoBase.h"
 
 /**
 \param pScopeMemory a pointer on a ScopeMemory
 \param code_error a code error (see in the function to determine the right number for the moment)
 */
-void scoScopeError(ScopeMemory * pScopeMemory, int code_error);
+SCICOS_BLOCKS_IMPEXP void scoScopeError(ScopeMemory * pScopeMemory, int code_error);
 
 /**
 */
-int permutobj(sciPointObj *pobj_1, sciPointObj *pparent_1,
+SCICOS_BLOCKS_IMPEXP int permutobj(sciPointObj *pobj_1, sciPointObj *pparent_1,
                          sciPointObj *pobj_2, sciPointObj *pparent_2);
 #endif
index de4223a..d04174e 100755 (executable)
@@ -29,6 +29,7 @@
 #ifndef __SCO_SET_PROPERTY_H__
 #define __SCO_SET_PROPERTY_H__
 
+#include "dynlib_scicos_blocks.h"
 #include "scoBase.h"
 
 /**
@@ -36,7 +37,7 @@
 \param pScopeMemory a pointer on a ScopeMemory
 \param value the new value of the handle
 */
-void scoSetHandleScopeWindow(ScopeMemory * pScopeMemory, long value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleScopeWindow(ScopeMemory * pScopeMemory, long value);
 
 /**
 \brief Set value in the hAxes
@@ -44,7 +45,7 @@ void scoSetHandleScopeWindow(ScopeMemory * pScopeMemory, long value);
 \param i index of an axes
 \param value the new value of the handle hAxes[i]
 */
-void scoSetHandleAxes(ScopeMemory * pScopeMemory, int i, long value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleAxes(ScopeMemory * pScopeMemory, int i, long value);
 
 /**
 \brief Set value in the hShortDraw[i][j] 
@@ -53,7 +54,7 @@ void scoSetHandleAxes(ScopeMemory * pScopeMemory, int i, long value);
 \param j index of a curve
 \param value the new value of the hShortDraw[i][j]
 */
-void scoSetHandleShortDraw(ScopeMemory * pScopeMemory, int i,int j, long value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleShortDraw(ScopeMemory * pScopeMemory, int i,int j, long value);
 
 /**
 \brief Set value in the hLongDraw[i][j]
@@ -62,7 +63,7 @@ void scoSetHandleShortDraw(ScopeMemory * pScopeMemory, int i,int j, long value);
 \param j index of a curve
 \param value the new value of the hLongDraw[i][j]
 */ 
-void scoSetHandleLongDraw(ScopeMemory * pScopeMemory, int i,int j, long value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleLongDraw(ScopeMemory * pScopeMemory, int i,int j, long value);
 
 /**
 \brief Set value in the new_draw[i]
@@ -70,7 +71,7 @@ void scoSetHandleLongDraw(ScopeMemory * pScopeMemory, int i,int j, long value);
 \param i index of an axes
 \param value the new value of new_draw[i]
 */
-void scoSetNewDraw(ScopeMemory * pScopeMemory, int i, int value);
+SCICOS_BLOCKS_IMPEXP void scoSetNewDraw(ScopeMemory * pScopeMemory, int i, int value);
 
 /**
 \brief Set value in the period_counter[i]
@@ -78,7 +79,7 @@ void scoSetNewDraw(ScopeMemory * pScopeMemory, int i, int value);
 \param i index of an axes
 \param value the new value of period_counter[i]
 */
-void scoSetPeriodCounter(ScopeMemory * pScopeMemory, int i, int value);
+SCICOS_BLOCKS_IMPEXP void scoSetPeriodCounter(ScopeMemory * pScopeMemory, int i, int value);
 
 /**
 \brief Set value in the trace_length[i]
@@ -86,7 +87,7 @@ void scoSetPeriodCounter(ScopeMemory * pScopeMemory, int i, int value);
 \param i index of an axes
 \param value the new value of trace_length[i]
 */
-void scoSetLongDrawSize(ScopeMemory * pScopeMemory, int i, int value);
+SCICOS_BLOCKS_IMPEXP void scoSetLongDrawSize(ScopeMemory * pScopeMemory, int i, int value);
 
 /**
 \brief Set value in the number_of_subwin
@@ -94,7 +95,7 @@ void scoSetLongDrawSize(ScopeMemory * pScopeMemory, int i, int value);
 \param value the new value of number_of_subwin
 
 */
-void scoSetNumberOfSubwin(ScopeMemory * pScopeMemory, int value);
+SCICOS_BLOCKS_IMPEXP void scoSetNumberOfSubwin(ScopeMemory * pScopeMemory, int value);
 
 /**
 \brief Set value in the number_of_curves_by_subwin[i]
@@ -102,14 +103,14 @@ void scoSetNumberOfSubwin(ScopeMemory * pScopeMemory, int value);
 \param i index of an axes
 \param value the new value of number_of_curves_by_subwin[i]
 */ 
-void scoSetNumberOfCurvesBySubwin(ScopeMemory * pScopeMemory, int i, int value);
+SCICOS_BLOCKS_IMPEXP void scoSetNumberOfCurvesBySubwin(ScopeMemory * pScopeMemory, int i, int value);
 
 /**
 \brief Set value in the win_id
 \param pScopeMemory a pointer on a ScopeMemory
 \param value the new value of the win_id
 */
-void scoSetWindowID(ScopeMemory * pScopeMemory, int value);
+SCICOS_BLOCKS_IMPEXP void scoSetWindowID(ScopeMemory * pScopeMemory, int value);
 
 /**
 \brief Set value in the buffer_size[i]
@@ -117,7 +118,7 @@ void scoSetWindowID(ScopeMemory * pScopeMemory, int value);
 \param i index of an axes
 \param value the new value of buffer_size[i]
 */
-void scoSetShortDrawSize(ScopeMemory * pScopeMemory, int i, int value);
+SCICOS_BLOCKS_IMPEXP void scoSetShortDrawSize(ScopeMemory * pScopeMemory, int i, int value);
 
 /**
 \brief Set value in the period[i]
@@ -125,7 +126,7 @@ void scoSetShortDrawSize(ScopeMemory * pScopeMemory, int i, int value);
 \param i index of an axes
 \param value the new value of period[i]
 */
-void scoSetPeriod(ScopeMemory * pScopeMemory, int i, double value);
+SCICOS_BLOCKS_IMPEXP void scoSetPeriod(ScopeMemory * pScopeMemory, int i, double value);
 
 /**
 \brief Set value of handle axes in the structure by passing a pointer on argument
@@ -133,7 +134,7 @@ void scoSetPeriod(ScopeMemory * pScopeMemory, int i, double value);
 \param i the position i of the axes
 \param value a scoGraphicalObject (i.e. sciPointObj *) of an axes
 */
-void scoSetHandleFromPointerAxes(ScopeMemory * pScopeMemory, int i, scoGraphicalObject value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleFromPointerAxes(ScopeMemory * pScopeMemory, int i, scoGraphicalObject value);
 
 /**
 \brief Set value of handle shortdraw in the structure by passing a pointer on argument
@@ -142,7 +143,7 @@ void scoSetHandleFromPointerAxes(ScopeMemory * pScopeMemory, int i, scoGraphical
 \param j the position j of the shortdraw in the axes
 \param value a scoGraphicalObject (i.e. sciPointObj *) of a shortdraw
 */
-void scoSetHandleFromPointerShortDraw(ScopeMemory * pScopeMemory, int i,int j, scoGraphicalObject value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleFromPointerShortDraw(ScopeMemory * pScopeMemory, int i,int j, scoGraphicalObject value);
 
 /**
 \brief Set value of handle longdraw in the structure by passing a pointer on argument
@@ -151,14 +152,14 @@ void scoSetHandleFromPointerShortDraw(ScopeMemory * pScopeMemory, int i,int j, s
 \param j the position j of the longdraw in the axes
 \param value a scoGraphicalObject (i.e. sciPointObj *) of a longdraw
 */
-void scoSetHandleFromPointerLongDraw(ScopeMemory * pScopeMemory, int i,int j, scoGraphicalObject value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleFromPointerLongDraw(ScopeMemory * pScopeMemory, int i,int j, scoGraphicalObject value);
 
 /**
 \brief Set value of handle scopewindow in the structure by passing a pointer on argument
 \param pScopeMemory a pointer on a ScopeMemory
 \param value a scoGraphicalObject (i.e. sciPointObj *) of a window
 */
-void scoSetHandleFromPointerScopeWindow(ScopeMemory * pScopeMemory, scoGraphicalObject value);
+SCICOS_BLOCKS_IMPEXP void scoSetHandleFromPointerScopeWindow(ScopeMemory * pScopeMemory, scoGraphicalObject value);
 
 
 /**
@@ -166,7 +167,7 @@ void scoSetHandleFromPointerScopeWindow(ScopeMemory * pScopeMemory, scoGraphical
 \param pScopeMemory a pointer on a ScopeMemory
 \param status : 1 activate 0 deactivate
 */
-void scoSetScopeActivation(ScopeMemory * pScopeMemory, int status);
+SCICOS_BLOCKS_IMPEXP void scoSetScopeActivation(ScopeMemory * pScopeMemory, int status);
 
 
 #endif
index 5c04377..b6ae36c 100644 (file)
@@ -29,6 +29,7 @@
 #ifndef __SCO_WINDOWSCOPE_H__
 #define __SCO_WINDOWSCOPE_H__
 
+#include "dynlib_scicos_blocks.h"
 #include"scoBase.h"
 
 /**
 \param zmin a table of (number_of_subwin) size
 \param zmax a table of (number_of_subwin) size
 */
-void scoInitOfWindow(ScopeMemory * pScopeMemory, int dimension, int win_id, int * win_pos, int * win_dim, double * xmin, double * xmax, double * ymin, double * ymax, double * zmin, double * zmax);
+SCICOS_BLOCKS_IMPEXP void scoInitOfWindow(ScopeMemory * pScopeMemory, int dimension, int win_id, int * win_pos, int * win_dim, double * xmin, double * xmax, double * ymin, double * ymax, double * zmin, double * zmax);
 
 /**
 \brief Allocate space and set block_number in the user_data of the window associated in the pScopeMemory
 **/
-void scoSetInUserData(ScopeMemory * pScopeMemory,int block_number);
+SCICOS_BLOCKS_IMPEXP void scoSetInUserData(ScopeMemory * pScopeMemory,int block_number);
 
 /**
 \brief Retrive UserData[0] (i.e. the block_number we have stocked)
 \param pTemp is a pointer on the figure
 **/
-scoInteger scoGetUserData(scoGraphicalObject pTemp);
+SCICOS_BLOCKS_IMPEXP scoInteger scoGetUserData(scoGraphicalObject pTemp);
 
 /*--------------------------CREATIONS FUNCTIONS-----------------------------*/
 /*
@@ -70,7 +71,7 @@ All these functions create pointer of special objects. We could use directly the
 \param color The color of the polyline. If <= 0 it will be a mark else it will be a line.
 \attention There is a polyline_size to allocate the table but dont forget that the n1 value of pPOLYLINE_FEATURE is set to 0
 */
-scoGraphicalObject scoCreatePolyline(scoGraphicalObject pAxes, scoInteger polyline_size,int color);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoCreatePolyline(scoGraphicalObject pAxes, scoInteger polyline_size,int color);
 
 /**
 \brief Create a Filled Circle  by using the constructArc method of sgl and return a pointer on it
@@ -78,7 +79,7 @@ scoGraphicalObject scoCreatePolyline(scoGraphicalObject pAxes, scoInteger polyli
 \param radius the radius of the filled circle
 \param color the color of the filled circle
 */
-scoGraphicalObject scoCreateSphere(scoGraphicalObject pAxes, double radius, int color);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoCreateSphere(scoGraphicalObject pAxes, double radius, int color);
 
 /**
 \brief Create a Rectangle by using constructRectangle and return a pointer on it
@@ -88,7 +89,7 @@ scoGraphicalObject scoCreateSphere(scoGraphicalObject pAxes, double radius, int
 \param width width of the rectangle
 \param height height of the rectangle
 */
-scoGraphicalObject scoCreateRectangle(scoGraphicalObject pAxes, double x, double y, double width, double height);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoCreateRectangle(scoGraphicalObject pAxes, double x, double y, double width, double height);
 
 /**
 \brief Create a Grayplot using constructGrayplot and return a pointer on it
@@ -96,7 +97,7 @@ scoGraphicalObject scoCreateRectangle(scoGraphicalObject pAxes, double x, double
 \param size_x size of the grayplot for abscisses
 \param size_y size of the grayplot for ordinates
 */
-scoGraphicalObject scoCreateGrayplot(scoGraphicalObject pAxes, int size_x, int size_y);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoCreateGrayplot(scoGraphicalObject pAxes, int size_x, int size_y);
 
 /**
 \brief Create a Plot3d using constructSurface (a param is for plot3d) and return a pointer on it
@@ -104,7 +105,7 @@ scoGraphicalObject scoCreateGrayplot(scoGraphicalObject pAxes, int size_x, int s
 \param size_x size of the plot3d for abscisses
 \param size_y size of the plot3d for ordinates
 */
-scoGraphicalObject scoCreatePlot3d(scoGraphicalObject pAxes, int size_x, int size_y);
+SCICOS_BLOCKS_IMPEXP scoGraphicalObject scoCreatePlot3d(scoGraphicalObject pAxes, int size_x, int size_y);
 
 /*---------------------------ADDING FUNCTIONS------------------------------*/
 /*
@@ -118,7 +119,7 @@ All these functions take a pointer of a graphical object and place it on axes i
 \param j the number of the designated shortdraw in the axes i
 \param color color of the polyline. <=0 is a mark >0 is a line
 */
-void scoAddPolylineForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int color);
+SCICOS_BLOCKS_IMPEXP void scoAddPolylineForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int color);
 
 /**
 \brief Add a polyline for a longdraw
@@ -128,7 +129,7 @@ void scoAddPolylineForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int co
 \param color color of the polyline. <=0 is a mark >0 is a line
 
 */
-void scoAddPolylineForLongDraw(ScopeMemory * pScopeMemory, int i, int j, int color);
+SCICOS_BLOCKS_IMPEXP void scoAddPolylineForLongDraw(ScopeMemory * pScopeMemory, int i, int j, int color);
 
 /**
 \brief Add a sphere to the axis as a shortdraw
@@ -138,7 +139,7 @@ void scoAddPolylineForLongDraw(ScopeMemory * pScopeMemory, int i, int j, int col
 \param radius the radius of the sphere
 \param color the color of the filled sphere
 */
-void scoAddSphereForShortDraw(ScopeMemory * pScopeMemory, int i, int j, double radius, int color);
+SCICOS_BLOCKS_IMPEXP void scoAddSphereForShortDraw(ScopeMemory * pScopeMemory, int i, int j, double radius, int color);
 
 /**
 \brief Add a sphere to the axis as a longdraw
@@ -148,7 +149,7 @@ void scoAddSphereForShortDraw(ScopeMemory * pScopeMemory, int i, int j, double r
 \param radius the radius of the sphere
 \param color the color of the filled sphere
 */
-void scoAddSphereForLongDraw(ScopeMemory * pScopeMemory, int i, int j, double radius, int color);
+SCICOS_BLOCKS_IMPEXP void scoAddSphereForLongDraw(ScopeMemory * pScopeMemory, int i, int j, double radius, int color);
 
 /**
 \brief Add a rectangle for a longdraw
@@ -161,7 +162,7 @@ void scoAddSphereForLongDraw(ScopeMemory * pScopeMemory, int i, int j, double ra
 \param height height of the rectangle
 
 */
-void scoAddRectangleForLongDraw(ScopeMemory * pScopeMemory, int i, int j, double x, double y, double width, double height);
+SCICOS_BLOCKS_IMPEXP void scoAddRectangleForLongDraw(ScopeMemory * pScopeMemory, int i, int j, double x, double y, double width, double height);
 
 /**
 \brief Add a grayplot for a shortdraw
@@ -171,7 +172,7 @@ void scoAddRectangleForLongDraw(ScopeMemory * pScopeMemory, int i, int j, double
 \param size_x size of the grayplot for abscisses
 \param size_y size of the grayplot for ordinates
 */
-void scoAddGrayplotForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int size_x, int size_y);
+SCICOS_BLOCKS_IMPEXP void scoAddGrayplotForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int size_x, int size_y);
 
 /**
 \brief Add a plot3d for a ShortDraw
@@ -181,7 +182,7 @@ void scoAddGrayplotForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int si
 \param size_x size of the plot3d for abscisses
 \param size_y size of the plot3d for ordinates
 */
-void scoAddPlot3dForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int size_x, int size_y);
+SCICOS_BLOCKS_IMPEXP void scoAddPlot3dForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int size_x, int size_y);
 
 /*-------------------------------ADDING COUPLE FUNCTIONS-----------------------------------*/
 
@@ -191,7 +192,7 @@ void scoAddPlot3dForShortDraw(ScopeMemory * pScopeMemory, int i, int j, int size
 \param colors a table of colors of all curves in the ScopeMemory
 \attention this function use the value of number_of_subwin and number_of_curves_by_subwin to fill all allocated space with shortdraw and longdraw typed with polylines
 */
-void scoAddCoupleOfPolylines(ScopeMemory * pScopeMemory, int * colors);
+SCICOS_BLOCKS_IMPEXP void scoAddCoupleOfPolylines(ScopeMemory * pScopeMemory, int * colors);
 
 /**
 \brief Add a couple of polyline one for the ShortDraw and one for the LongDraw they are lined
@@ -199,7 +200,7 @@ void scoAddCoupleOfPolylines(ScopeMemory * pScopeMemory, int * colors);
 \param color a table of (number_of_curves_by_subwin[0]) size to colorize segments
 \attention this function use the value of number_of_subwin and number_of_curves_by_subwin to fill all allocated space with shortdraw and longdraw typed with segments
 */
-void scoAddCoupleOfSegments(ScopeMemory * pScopeMemory, int * color);
+SCICOS_BLOCKS_IMPEXP void scoAddCoupleOfSegments(ScopeMemory * pScopeMemory, int * color);
 
 /**
 \brief Add a couple of spheres to the axis
@@ -208,20 +209,20 @@ void scoAddCoupleOfSegments(ScopeMemory * pScopeMemory, int * color);
 \param colors a table of colors
 \attention this function use the value of number_of_subwin and number_of_curves_by_subwin to fill all allocated space with shortdraw and longdraw typed with segment
 */
-void scoAddCoupleOfSpheres(ScopeMemory * pScopeMemory, double * radius, int * colors);
+SCICOS_BLOCKS_IMPEXP void scoAddCoupleOfSpheres(ScopeMemory * pScopeMemory, double * radius, int * colors);
 
 /*-------------------------------DELETING FUNCTIONS---------------------------*/
 /**
 \brief Del a couple of polyline one for the ShortDraw and one for the LongDraw they are linked
 \param pScopeMemory a pointer on a ScopeMemory
 */
-void scoDelCoupleOfPolylines(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP void scoDelCoupleOfPolylines(ScopeMemory * pScopeMemory);
 
 /**
 \brief Del a couple of polyline one for the ShortDraw and one for the LongDraw they are linked
 \param pScopeMemory a pointer on a ScopeMemory
 */
-void scoDelCoupleOfSegments(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP void scoDelCoupleOfSegments(ScopeMemory * pScopeMemory);
 
 /* ----------------------DRAWING FUNCTIONS --------------------------------*/
 /*
@@ -232,13 +233,13 @@ These functions modify the view of the scope. They all have at a moment an instr
 \param pScopeMemory a pointer on a ScopeMemory
 \param t the scicos time (get_scicos_time())
 */
-void scoDrawScopeAmplitudeTimeStyle(ScopeMemory * pScopeMemory, double t);
+SCICOS_BLOCKS_IMPEXP void scoDrawScopeAmplitudeTimeStyle(ScopeMemory * pScopeMemory, double t);
 
 /**
 \brief Draw a Scope like CSCOPXY or CSCOPXY3D
 \param pScopeMemory a pointer on a ScopeMemory
 */
-void scoDrawScopeXYStyle(ScopeMemory * pScopeMemory);
+SCICOS_BLOCKS_IMPEXP void scoDrawScopeXYStyle(ScopeMemory * pScopeMemory);
 /**
 \brief Add Titles and Backgound on the scope
 \param pScopeMemory a pointer on a ScopeMemory
@@ -247,7 +248,7 @@ void scoDrawScopeXYStyle(ScopeMemory * pScopeMemory);
 \param y a string to be printed on y
 \param z a string to be printed on z (can be NULL)
 */
-void scoAddTitlesScope(ScopeMemory * pScopeMemory, char * label, char * x, char * y, char * z);
+SCICOS_BLOCKS_IMPEXP void scoAddTitlesScope(ScopeMemory * pScopeMemory, char * label, char * x, char * y, char * z);
 
 /**
 \brief Draw a Scope libe ANIMXY or ANIMXY3D
@@ -256,13 +257,13 @@ void scoAddTitlesScope(ScopeMemory * pScopeMemory, char * label, char * x, char
 \param u2 values on second entry
 \param u3 values on third entry (can be NULL)
 */
-void scoDrawScopeAnimXYStyle(ScopeMemory * pScopeMemory, double * u1, double * u2, double * u3);
+SCICOS_BLOCKS_IMPEXP void scoDrawScopeAnimXYStyle(ScopeMemory * pScopeMemory, double * u1, double * u2, double * u3);
 
 /**
 \brief Refresh the DataBounds of X if we have touched the end of the x-axes
 \param pScopeMemory a pointer on a ScopeMemory
 \param t the scicos time (get_scicos_time())
 */
-void scoRefreshDataBoundsX(ScopeMemory * pScopeMemory,double t);
+SCICOS_BLOCKS_IMPEXP void scoRefreshDataBoundsX(ScopeMemory * pScopeMemory,double t);
 
 #endif
index e204fc2..9b09c04 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdio.h>
 #include <math.h>
 #include "core_math.h"
+#include "dynlib_scicos_blocks.h"
 #include "scicos.h"
 #include "elementary_functions.h" /* C2F(dmmul) */
 /*--------------------------------------------------------------------------*/ 
@@ -34,7 +35,7 @@
  *     Scicos block simulator 
  *     returns Absolute value of the input 
  *------------------------------------------------*/
-void absblk( flag, nevprt, t, xd, x, nx, z, nz, tvec, 
+SCICOS_BLOCKS_IMPEXP void absblk( flag, nevprt, t, xd, x, nx, z, nz, tvec, 
             ntvec, rpar, nrpar, ipar, nipar, u, nu, y, ny)
              int *flag, *nevprt,*nx,*nz,*nrpar, *ipar, *nipar,*ntvec,*nu,*ny;
              double *t, *xd, *x, *z, *tvec, *rpar, *u, *y;
@@ -43,4 +44,3 @@ void absblk( flag, nevprt, t, xd, x, nx, z, nz, tvec,
   for (i = 0 ; i <  *nu ; ++i ) y[i] = Abs(u[i]);
 } 
 /*--------------------------------------------------------------------------*/ 
-
index 9d5f286..ee5617a 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "dynlib_scicos_blocks.h"
 #include "scicos_block.h"
 /*--------------------------------------------------------------------------*/ 
-void  absolute_value(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void  absolute_value(scicos_block *block,int flag)
 {
   int i = 0,j = 0;
   if (flag==1){
index 4cdf4b7..b7a1a69 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "dynlib_scicos_blocks.h"
 #include "scicos_block.h"
 /*--------------------------------------------------------------------------*/ 
-void acos_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void acos_blk(scicos_block *block,int flag)
 {
   int j = 0;
   if(flag==1){
index e6fb456..f15f3a2 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "dynlib_scicos_blocks.h"
 #include "scicos_block.h"
 /*--------------------------------------------------------------------------*/ 
 #if _MSC_VER
 extern double acosh(double x);
 #endif
 /*--------------------------------------------------------------------------*/ 
-void acosh_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void acosh_blk(scicos_block *block,int flag)
 {
   int j = 0;
   if(flag==1){
index 7853222..5d4fd9f 100644 (file)
@@ -90,7 +90,6 @@ void C2F(affichup)( double * textIndex,
                     char * value,
                     int valueLength)
 {
- int nbRow,nbCol;
   /* First step, retreive text handle */
   /* For now we got the index of the block coupound within the axes children */
   sciPointObj * pText = getAffichTextObject((int) *winNum, ((int) *textIndex) - 1);
index d0fcc4c..fab2fb5 100644 (file)
@@ -21,6 +21,7 @@
 /*--------------------------------------------------------------------------*/ 
 #include <stdio.h>
 #include <math.h>
+#include "dynlib_scicos_blocks.h"
 #include "core_math.h"
 #include "scicos.h"
 /*--------------------------------------------------------------------------*/ 
@@ -36,7 +37,7 @@
  *     if event input exists synchronuously, output is 1 else -1
  *------------------------------------------------*/
 
-void andlog(flag, nevprt, t, xd, x, nx, z, nz, tvec, 
+SCICOS_BLOCKS_IMPEXP void andlog(flag, nevprt, t, xd, x, nx, z, nz, tvec, 
            ntvec, rpar, nrpar, ipar, nipar, u, nu, y, ny)
              int *flag, *nevprt,*nx,*nz,*nrpar, *ipar, *nipar,*ntvec,*nu,*ny;
              double *t, *xd, *x, *z, *tvec, *rpar, *u, *y;
index ff6604b..a3275ad 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "dynlib_scicos_blocks.h"
 #include "scicos_block.h"
 /*--------------------------------------------------------------------------*/ 
-void asin_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void asin_blk(scicos_block *block,int flag)
 {
   int j = 0;
   if(flag==1){
index 49198f0..6e51e5f 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "dynlib_scicos_blocks.h"
 #include "scicos_block.h"
 /*--------------------------------------------------------------------------*/ 
 #if _MSC_VER
 extern double asinh(double x);
 #endif
 /*--------------------------------------------------------------------------*/ 
-void asinh_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void asinh_blk(scicos_block *block,int flag)
 {
   int j = 0;
   if(flag==1){
index d569a9c..5805b2f 100644 (file)
 #include <stdio.h>
 #include <memory.h>
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "scicos.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void assignment(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void assignment(scicos_block *block,int flag)
 {
   int my = 0,ny = 0,so = 0;
   double *out0 = NULL;
index 81b2eb0..e4c5cf6 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void atan_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void atan_blk(scicos_block *block,int flag)
 {
   int j = 0;
   if(flag==1){
index 1e29e6a..96a733c 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 #if _MSC_VER
 extern double atanh(double x);
 #endif
 /*--------------------------------------------------------------------------*/ 
-void atanh_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void atanh_blk(scicos_block *block,int flag)
 {
   int j = 0;
   if(flag==1){
index 2ece699..784d8e6 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "localization.h"
+#include "scicos.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /* A swithcing mechansim for building hybrid automata */
 /* Masoud Najafi, 2007, INRIA */
 
-void automat(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void automat(scicos_block *block,int flag)
 {
   double *y0 = NULL, *y1 = NULL, *ui = NULL;
   double* g = block->g;
index cdcc601..7af6c7d 100644 (file)
 #include <math.h>
 #include "MALLOC.h"
 #include "scicos_block.h"
+#include "scicos_free.h"
+#include "scicos_malloc.h"
 /*--------------------------------------------------------------------------*/ 
-void backlash(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void backlash(scicos_block *block,int flag)
 { 
   double* rw = NULL,t  = 0.;
   if (flag == 4){/* the workspace is used to store previous values */
index 184dc4e..72210fa 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bidon(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bidon(scicos_block *block,int flag)
 /*------------------------------------------------
  *     Scicos block simulator 
  *     does nothing 
index 7d5f2ab..7a9d130 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bit_clear_16(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bit_clear_16(scicos_block *block,int flag)
 {
   int m = 0,n = 0,i = 0;
   short *opar = NULL;
index e980f13..586d8a8 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bit_clear_32(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bit_clear_32(scicos_block *block,int flag)
 {
   int n = 0,m = 0,i = 0;
   long *opar = NULL;
index c3570d6..113f5f6 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bit_clear_8(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bit_clear_8(scicos_block *block,int flag)
 {
   int n = 0,m = 0,i = 0;
   char *opar = NULL;
index b5a60d4..3753878 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bit_set_16(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bit_set_16(scicos_block *block,int flag)
 {
   int n = 0, m = 0, i = 0;
   short *opar = NULL;
index a050da2..c2d1691 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bit_set_32(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bit_set_32(scicos_block *block,int flag)
 {
   int n,m,i;
   long *opar;
index c35116d..a1d69a1 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bit_set_8(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bit_set_8(scicos_block *block,int flag)
 {
   int n = 0,m = 0,i = 0;
   char *opar = NULL;
index d25b86a..f5489c5 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "MALLOC.h"
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void bounce_ball(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void bounce_ball(scicos_block *block,int flag)
 {
   int nevprt = 0,nx = 0,*ipar = NULL;
   int *outsz = NULL;
index 6a046dc..348f3ca 100644 (file)
 #include "scicos_block4.h"
 #include "ObjectStructure.h"
 #include "DrawingBridge.h"
+#include "scicos.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn bouncexy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void bouncexy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void bouncexy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   scoGraphicalObject pAxes;
   scoGraphicalObject pTemp;
@@ -130,7 +134,7 @@ void bouncexy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstd
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void bouncexy(scicos_block * block,int flag)
+SCICOS_BLOCKS_IMPEXP void bouncexy(scicos_block * block,int flag)
 {
   ScopeMemory * pScopeMemory = NULL;
   scoGraphicalObject pShortDraw;
index 0d4e678..7407ffc 100755 (executable)
 #include "scicos_block4.h"
 #include "DrawingBridge.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn canimxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void canimxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void canimxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   /* Declarations*/
   int i = 0;
@@ -198,7 +199,7 @@ void canimxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdr
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void canimxy(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP void canimxy(scicos_block * block, int flag)
 {
   /*Declarations*/
   ScopeMemory * pScopeMemory = NULL;
index d43534f..e11fac9 100644 (file)
 #include "scoSetProperty.h"
 #include "scicos_block4.h"
 #include "DrawingBridge.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn canimxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void canimxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void canimxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   int i = 0; //As usual
   int * ipar = NULL; //Integer Parameters
@@ -205,7 +208,7 @@ void canimxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int first
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void canimxy3d(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP void canimxy3d(scicos_block * block, int flag)
 {
   /* Declarations*/
   double *u1 = NULL,*u2 = NULL,*u3 = NULL;
index 7ce5c8b..5d33620 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h> /* sin */
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cdummy(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cdummy(scicos_block *block,int flag)
 /*------------------------------------------------
  *     Scicos block simulator 
  *     Dummy state space x'=sin(t)
index e36af96..288e106 100755 (executable)
@@ -29,6 +29,7 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "CurrentObjectsManagement.h"
+#include "scicos.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
 #include "scicos_block4.h"
 #include "DrawingBridge.h"
 #include "SetJavaProperty.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn cscopxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cevscpe_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cevscpe_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   /* Declarations */
 
@@ -116,7 +120,7 @@ void cevscpe_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdr
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cevscpe(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP void cevscpe(scicos_block * block, int flag)
 {
 
   ScopeMemory * pScopeMemory = NULL;
index f032328..2c71c54 100755 (executable)
 */
 /*--------------------------------------------------------------------------*/ 
 #include "CurrentObjectsManagement.h"
+#include "scicos.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
 #include "scoGetProperty.h"
 #include "scoSetProperty.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(getouttb)();
 /*--------------------------------------------------------------------------*/ 
 /** \fn cfscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cfscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cfscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
 
   double *rpar = NULL;
@@ -122,7 +126,7 @@ void cfscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdr
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cfscope(scicos_block * block,int flag)
+SCICOS_BLOCKS_IMPEXP void cfscope(scicos_block * block,int flag)
 {
   ScopeMemory * pScopeMemory = NULL;
   scoGraphicalObject pShortDraw;
index ea70441..50a59d6 100644 (file)
 #include "scoGetProperty.h"
 #include "scoSetProperty.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn cmat3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cmat3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cmat3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   /*Declarations*/
   int i = 0; //As usual
@@ -155,7 +158,7 @@ void cmat3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdra
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cmat3d(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP void cmat3d(scicos_block * block, int flag)
 {
   /* Declarations */
   ScopeMemory * pScopeMemory = NULL;
index 45e848f..27e058f 100644 (file)
 #include "scoGetProperty.h"
 #include "scoSetProperty.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn cmatview_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cmatview_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cmatview_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   int i = 0; //As usual
   int * ipar = NULL; //Integer Parameters
@@ -105,7 +108,7 @@ void cmatview_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstd
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cmatview(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP void cmatview(scicos_block * block, int flag)
 {
   /* Declarations */
   ScopeMemory * pScopeMemory = NULL;
index 62d2fbc..29969a3 100644 (file)
@@ -29,6 +29,7 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "CurrentObjectsManagement.h"
+#include "scicos.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
 #include "scoSetProperty.h"
 #include "scicos_block4.h"
 #include "SetJavaProperty.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn cmscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cmscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cmscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   int i = 0; //As usual
   int * ipar = NULL; //Integer Parameters
@@ -157,7 +161,7 @@ void cmscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdr
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cmscope(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP cmscope(scicos_block * block, int flag)
 {
   /* Declarations */
   ScopeMemory * pScopeMemory = NULL;
index fc449d2..2412186 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /*     February 2008 */
 /* Scicos block simulator */
 /*--------------------------------------------------------------------------*/ 
 #define NX      block->outsz[0]
 /*--------------------------------------------------------------------------*/ 
-void constraint_c(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void constraint_c(scicos_block *block,int flag)
 {
   double *y = NULL,*y2 = NULL,*u = NULL;
   int i = 0;
index e46e780..fc6679d 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include <memory.h>
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "sciprint.h"
 #include "localization.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void convert(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void convert(scicos_block *block,int flag)
 {
  int m = 0,n = 0,i = 0;
  int *ipar = NULL;
index 22501b6..134c5b6 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cos_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cos_blk(scicos_block *block,int flag)
 {
   if(flag==1){
        int j = 0;
index 9ebfef0..f77001d 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdio.h>
 #include <math.h>
 #include "scicos.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /*------------------------------------------------
  *     Scicos block simulator 
@@ -33,7 +34,7 @@
  *     
  *------------------------------------------------*/
 
-void cosblk (flag, nevprt, t, xd, x, nx, z, nz, tvec, 
+SCICOS_BLOCKS_IMPEXP void cosblk (flag, nevprt, t, xd, x, nx, z, nz, tvec, 
             ntvec, rpar, nrpar, ipar, nipar, u, nu, y, ny)
              int *flag, *nevprt,*nx,*nz,*nrpar, *ipar, *nipar,*ntvec,*nu,*ny;
              double *t, *xd, *x, *z, *tvec, *rpar, *u, *y;
index 17f2f0c..3369347 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cosh_blk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cosh_blk(scicos_block *block,int flag)
 {
   
   if(flag==1){
index 62c29a7..f3264f4 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void counter(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void counter(scicos_block *block,int flag)
 {
   double *y = NULL,*z = NULL;
   int *ipar = NULL;
index f5a3948..0c612fa 100644 (file)
@@ -30,6 +30,7 @@
 /*--------------------------------------------------------------------------*/ 
 #include <stdio.h>
 #include "CurrentObjectsManagement.h"
+#include "scicos.h"
 #include "scoMemoryScope.h"
 #include "scoWindowScope.h"
 #include "scoMisc.h"
 #include "scoSetProperty.h"
 #include "scicos_block4.h"
 #include "SetJavaProperty.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn cscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   int i = 0;
   double *rpar = NULL;
@@ -121,7 +125,7 @@ void cscope_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdra
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cscope(scicos_block * block,int flag)
+SCICOS_BLOCKS_IMPEXP void cscope(scicos_block * block,int flag)
 {
   ScopeMemory * pScopeMemory = NULL;
   int i = 0;
index 9c55aed..fdc6ea3 100755 (executable)
 #include "DrawingBridge.h"
 #include "SetJavaProperty.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn cscopxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cscopxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cscopxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   int * ipar = NULL; //Integer Parameters
   int color_flag = 0; //Flag on Color
@@ -121,7 +122,7 @@ void cscopxy_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdr
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cscopxy(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP void cscopxy(scicos_block * block, int flag)
 {
   /* Declarations*/
   ScopeMemory * pScopeMemory = NULL;
index 609475d..2e92ada 100755 (executable)
 #include "scoSetProperty.h"
 #include "scicos_block4.h"
 #include "DrawingBridge.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /** \fn cscopxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
     \brief Function to draw or redraw the window
 */
-void cscopxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
+SCICOS_BLOCKS_IMPEXP void cscopxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int firstdraw)
 {
   int * ipar = NULL; //Integer Parameters
   int color_number = 0; //Flag on Color
@@ -138,7 +141,7 @@ void cscopxy3d_draw(scicos_block * block, ScopeMemory ** pScopeMemory, int first
     \param block A pointer to a scicos_block
     \param flag An int which indicates the state of the block (init, update, ending)
 */
-void cscopxy3d(scicos_block * block, int flag)
+SCICOS_BLOCKS_IMPEXP void cscopxy3d(scicos_block * block, int flag)
 {
   /* Declarations*/
   int i;
index dc400b3..792134d 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block.h"
 #include "machine.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dmmul)();
 extern int C2F(dmmul1)();
 /*--------------------------------------------------------------------------*/ 
-void csslti4(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void csslti4(scicos_block *block,int flag)
 {
   /*  Copyright INRIA
 
index 549de46..4c0e724 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <memory.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cstblk4(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cstblk4(scicos_block *block,int flag)
 { 
   /* Copyright INRIA
      
index 18d6151..6196b9f 100644 (file)
@@ -23,8 +23,9 @@
 #include<stdio.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cstblk4_m(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cstblk4_m(scicos_block *block,int flag)
 { 
   /* Copyright INRIA
 
index 7bb4bb7..f48ec1c 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cumsum_c(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cumsum_c(scicos_block *block,int flag)
 {
   double *u = NULL;
   double *y = NULL;
index d4b0582..8b509e8 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cumsum_m(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cumsum_m(scicos_block *block,int flag)
 {
   double *u = NULL;
   double *y = NULL;
index 0fc27c1..7ed0132 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cumsum_r(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cumsum_r(scicos_block *block,int flag)
 {
   double *u = NULL;
   double *y = NULL;
index bc10571..c2b65bd 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cumsumz_c(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cumsumz_c(scicos_block *block,int flag)
 {
   double *ur = NULL;
   double *ui = NULL;
index 1fe85be..3f85eb0 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cumsumz_m(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cumsumz_m(scicos_block *block,int flag)
 {
   double *ur = NULL;
   double *ui = NULL;
index bd28691..57050a7 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void cumsumz_r(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void cumsumz_r(scicos_block *block,int flag)
 {
   double *ur = NULL;
   double *ui = NULL;
index 121099e..941447f 100644 (file)
 * See the file ./license.txt
 */
 /*--------------------------------------------------------------------------*/ 
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "scicos_evalhermite.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /*    Masoud Najafi, August 2007 */
 /*    Copyright INRIA
@@ -35,7 +39,7 @@
 #define Periodic block->ipar[2]
 #define T        rpar[nPoints-1]-rpar[0]
 /*--------------------------------------------------------------------------*/ 
-void curve_c(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void curve_c(scicos_block *block,int flag)
 {
   double t = 0.,a = 0.,b = 0.,c = 0.,y1 = 0.,y2 = 0.,t1 = 0.,t2 = 0.;
   int *ind = NULL, i = 0,inow = 0;
index 3f4383d..785e988 100644 (file)
@@ -23,6 +23,7 @@
 #include <math.h>
 #include "core_math.h"
 #include "scicos.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /*------------------------------------------------
  *     Scicos block simulator 
@@ -37,7 +38,7 @@
  *     DB(i)=rpar(i) 
  *------------------------------------------------*/
 
-void dband (flag, nevprt, t, xd, x, nx, z, nz, tvec, 
+SCICOS_BLOCKS_IMPEXP void dband (flag, nevprt, t, xd, x, nx, z, nz, tvec, 
            ntvec, rpar, nrpar, ipar, nipar, u, nu, y, ny)
             int *flag, *nevprt,*nx,*nz,*nrpar, *ipar, *nipar,*ntvec,*nu,*ny;
             double *t, *xd, *x, *z, *tvec, *rpar, *u, *y;
index f89c381..76237fc 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void deadband(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void deadband(scicos_block *block,int flag)
 {
        /* rpar[0]:upper limit,  rpar[1]:lower limit */
   if (flag==1){
index de1a073..5020e34 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void delay4(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void delay4(scicos_block *block,int flag)
 {
   /* Copyright INRIA
    
index 9536941..285362a 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void delay4_i16(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void delay4_i16(scicos_block *block,int flag)
 {
   /* Copyright INRIA
    
index d617134..a47de58 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void delay4_i32(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void delay4_i32(scicos_block *block,int flag)
 {
   /* Copyright INRIA
    
index 6ee14ae..822f614 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void delay4_i8(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void delay4_i8(scicos_block *block,int flag)
 {
   /* Copyright INRIA
    
index 4dcec52..f3b7a03 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void delay4_ui16(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void delay4_ui16(scicos_block *block,int flag)
 {
   /* Copyright INRIA
    
index 8b0406d..b8da5ed 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void delay4_ui32(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void delay4_ui32(scicos_block *block,int flag)
 {
   /* Copyright INRIA
    
index 7001602..bf8c5bd 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void delay4_ui8(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void delay4_ui8(scicos_block *block,int flag)
 {
   /* Copyright INRIA
    
index d192812..2b4c14f 100644 (file)
 #include <math.h>
 #include "MALLOC.h"
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
+#include "scicos_free.h"
+#include "scicos_malloc.h"
 /*--------------------------------------------------------------------------*/ 
-void deriv(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void deriv(scicos_block *block,int flag)
 { 
   double* rw = NULL;
   double t = 0.,dt = 0.;
index 490501a..dc580ce 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /*     February 2008 */
 /* Scicos block simulator */
 /*--------------------------------------------------------------------------*/ 
 #define NX      block->nx
 /*--------------------------------------------------------------------------*/ 
-void diffblk_c(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void diffblk_c(scicos_block *block,int flag)
 {
   double *y = NULL,*u = NULL;
   int i = 0;
index abcc27f..124b0cf 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h> /* printf */
 #endif
 #include "scicos_math.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /* Table of constant values */
 static double c_b4 = 1.;
@@ -34,7 +35,7 @@ static int dgemm(char *transa, char *transb, int *m, int *n, int *k, double *alp
 static long int lsame(char *ca, char *cb);
 static int xerbla(char *srname, int *info);
 /*--------------------------------------------------------------------------*/ 
-int dmmul(double *a, int *na, double *b, int *nb, double *c__, 
+SCICOS_BLOCKS_IMPEXP int dmmul(double *a, int *na, double *b, int *nb, double *c__, 
          int *nc, int *l, int *m, int *n)
 {
   int a_dim1 = 0, a_offset = 0, b_dim1 = 0, b_offset = 0, c_dim1 = 0, c_offset = 0;
index 3ab00f6..e7ba816 100644 (file)
 * See the file ./license.txt
 */
 /*--------------------------------------------------------------------------*/ 
+#include "dynlib_scicos_blocks.h"
 /* Table of constant values */
 static int c__1 = 1;
 /*--------------------------------------------------------------------------*/ 
 double ddot(int *n, double *dx, int *incx, double *dy, int *incy);
 /*--------------------------------------------------------------------------*/ 
-int dmmul1(double *a, int *na, double *b, int *nb, double *c__, 
+SCICOS_BLOCKS_IMPEXP int dmmul1(double *a, int *na, double *b, int *nb, double *c__, 
           int *nc, int *l, int *m, int *n)
 {
   /* System generated locals */
index c4ed9d6..071fdc4 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void dollar4(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void dollar4(scicos_block *block,int flag)
 {
   /* c     Copyright INRIA
      
index a4114f8..d6a7cf2 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include <memory.h>
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 typedef struct
 {         int s;
 } dol_struct ;
 /*--------------------------------------------------------------------------*/ 
-void dollar4_m(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void dollar4_m(scicos_block *block,int flag)
 {
   /* c     Copyright INRIA
      
index 623ce03..5e8068b 100644 (file)
 #include "MALLOC.h"
 #include "machine.h"
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
+#include "scicos_free.h"
+#include "scicos_malloc.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dmmul)();
 extern int C2F(dmmul1)();
 /*--------------------------------------------------------------------------*/ 
-void dsslti4(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void dsslti4(scicos_block *block,int flag)
 {
   /* Copyright INRIA
      
index fbd2e65..6548f74 100644 (file)
@@ -23,8 +23,9 @@
 #include "scicos_block.h"
 #include "sciprint.h"
 #include "localization.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void edgetrig(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void edgetrig(scicos_block *block,int flag)
 {
   double z= block->z[0],u=block->inptr[0][0];
   if(flag==2||flag==6){
index ae61201..8820e8c 100644 (file)
@@ -31,6 +31,7 @@
 #include "scicos_block.h"
 #include "machine.h" /* isinf */
 #include "scicos_math.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 #if _MSC_VER
 /*
@@ -55,7 +56,7 @@ double atanh(double x)
 }
 #endif
 /*--------------------------------------------------------------------------*/ 
-void evaluate_expr(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void evaluate_expr(scicos_block *block,int flag)
 {
   static double stack [1000];
   static int count = 0,bottom = 0,nzcr = 0,i = 0,phase = 0; 
index 24e0041..83c9eaf 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /*    Copyright INRIA
  *    Scicos block simulator
  *    event delay with discrete counter
  */
-void evtdly4(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void evtdly4(scicos_block *block,int flag)
 {
   double t = 0.;
   long long int *i = NULL;
index e8f8ed8..1462709 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void evtvardly(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void evtvardly(scicos_block *block,int flag)
 { 
   if (flag==3)
   {
index a000ba6..0b25acf 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void expblk_m(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void expblk_m(scicos_block *block,int flag)
 {
   double *u = NULL;
   double *y = NULL;
index bf2de7b..b0971bf 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extdiag(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extdiag(scicos_block *block,int flag)
 {
   double *u1 = NULL;
   double *y = NULL;
index 3f3090c..928fade 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extdiagz(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extdiagz(scicos_block *block,int flag)
 {
   double *ur = NULL;
   double *ui = NULL;
index b2297f7..83a3e37 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract(scicos_block *block,int flag)
 {
   double *u = NULL;
   double *y = NULL;
index e6bba12..89cf6df 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_LH(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_LH(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index 4a132b2..25746c5 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_LSB(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_LSB(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index 96ce75f..607d4f0 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_MSB0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_MSB0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index 374f89b..2c1c283 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_MSB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_MSB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index 206b053..3dc825f 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_RB0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_RB0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index 40171bb..c812ef6 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_RB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_RB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index 0d4264c..210f7f0 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_UH0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_UH0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index e7061ad..44d6c2c 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_16_UH1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_16_UH1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    short *y = NULL,*u = NULL,ref = 0,n = 0;
index d84467a..d0ff334 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_LH(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_LH(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    long *y = NULL,*u = NULL,ref = 0,n = 0;
index 43a235a..84f497f 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_LSB(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_LSB(scicos_block *block,int flag)
 {
    int i= 0,maxim = 0;
    long *y,*u,ref,n;
index 9c32d10..b0b0152 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_MSB0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_MSB0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    long *y = NULL,*u = NULL,ref = 0,n = 0;
index 6d35bc8..ba92942 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_MSB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_MSB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    long *y = NULL,*u = NULL,ref = 0,n = 0;
index 674a025..2ede5f0 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_RB0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_RB0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    long *y = NULL,*u = NULL,ref = 0,n = 0;
index 8af095e..2896254 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_RB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_RB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    long *y = NULL,*u = NULL,ref = 0,n = 0;
index c1e0ded..969939e 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_UH0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_UH0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    long *y = NULL,*u = NULL,ref = 0,n = 0;
index 093a585..454204d 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_32_UH1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_32_UH1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    long *y = NULL,*u = NULL,ref = 0,n = 0;
index 31695e7..1e650bc 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_LH(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_LH(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    char *y = NULL,*u = NULL,ref = 0,n = 0;
index 79dd241..19a980a 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_LSB(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_LSB(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    char *y = NULL,*u = NULL,ref = 0,n = 0;
index 45b208b..7a876f7 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_MSB0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_MSB0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    char *y= NULL,*u = NULL,ref = 0,n =0;
index cf481f3..ca76a2b 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_MSB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_MSB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    char *y = NULL,*u = NULL,ref = 0,n = 0;
index bf0849b..d0735e8 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_RB0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_RB0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0, numb = 0;
    char *y = NULL, *u = NULL, ref = 0, n = 0;
index 825baf1..ed27ee7 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_RB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_RB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    char *y = NULL,*u = NULL,ref = 0,n = 0;
index b4aa2c5..882ba4c 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_UH0(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_UH0(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    char *y = NULL,*u = NULL,ref = 0,n = 0;
index 0cae53c..4f8dcc4 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_8_UH1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_8_UH1(scicos_block *block,int flag)
 {
    int i = 0, maxim = 0;
    char *y = 0,*u = 0,ref = 0,n = 0;
index 38bd272..2a20332 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u16_MSB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u16_MSB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    unsigned short *y = NULL,*u = NULL,ref = 0,n = 0;
index 5d58505..92cbed4 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u16_RB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u16_RB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    unsigned short *y = NULL,*u = NULL,ref = 0,n = 0;
index a9c66ae..8fae04a 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u16_UH1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u16_UH1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    unsigned short *y = NULL,*u = NULL,ref = 0, n = 0;
index 3eb5239..41bb610 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u32_MSB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u32_MSB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    unsigned long *y = NULL,*u = NULL,ref = 0,n = 0;
index 599fa9c..985e088 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u32_RB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u32_RB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    unsigned long *y = NULL,*u = NULL,ref = 0,n = 0;
index a9c0979..8fae137 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u32_UH1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u32_UH1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    unsigned long *y = NULL,*u = NULL,ref = 0,n = 0;
index de80d80..26e6203 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u8_MSB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u8_MSB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    unsigned char *y = NULL,*u = NULL,ref = 0,n = 0;
index 30c074b..acda352 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u8_RB1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u8_RB1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0,numb = 0;
    unsigned char *y = NULL,*u = NULL,ref = 0,n = 0;
index 71ff27d..e43253d 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extract_bit_u8_UH1(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extract_bit_u8_UH1(scicos_block *block,int flag)
 {
    int i = 0,maxim = 0;
    unsigned char *y = NULL,*u = NULL,ref = 0,n = 0;
index 156c881..1fe2cb4 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extractor(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extractor(scicos_block *block,int flag)
 {
   int i = 0,j = 0;
   if(flag==1){
index 6f5dce9..5fce2ec 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void extractz(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void extractz(scicos_block *block,int flag)
 {
   double *ur = NULL;
   double *ui = NULL;
index d893d04..bef3f7a 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void exttril(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void exttril(scicos_block *block,int flag)
 {
   double *u = NULL;
   double *y = NULL;
index c0558e3..e5118a9 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void exttrilz(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void exttrilz(scicos_block *block,int flag)
 {
   double *ur = NULL;
   double *ui = NULL;
index 649b40e..a03cc72 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void exttriu(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void exttriu(scicos_block *block,int flag)
 {
   double *u = NULL;
   double *y = NULL;
index 1d8b289..d8138f4 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void exttriuz(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void exttriuz(scicos_block *block,int flag)
 {
   double *ur = NULL;
   double *ui = NULL;
index b515692..129710b 100644 (file)
@@ -22,8 +22,9 @@
 #include <memory.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void foriterator(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void foriterator(scicos_block *block,int flag)
 { 
   void *y = NULL,*u = NULL,*z = NULL;
   int *ipar = NULL;
index 2cfbf14..a36c710 100644 (file)
@@ -24,6 +24,7 @@
 #include <string.h>
 #include <math.h>
 #include "stack-c.h"
+#include "scicos.h"
 #include "sciprint.h"
 #include "cvstr.h"
 #include "MALLOC.h"
@@ -34,6 +35,9 @@
 #include "scicos_block4.h"
 #include "scicos_evalhermite.h"
 #include "localization.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 #define Fnlength  block->ipar[0]
 #define FName     block->ipar[1]
@@ -79,7 +83,7 @@ typedef struct {
   double *workt;
 } fromwork_struct ;
 /*--------------------------------------------------------------------------*/ 
-void fromws_c(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void fromws_c(scicos_block *block,int flag)
 {
   double t = 0.,y1 = 0.,y2 = 0.,t1 = 0.,t2 = 0.,r = 0.;
   double *spline = NULL, *A_d = NULL, *A_sd = NULL, *qdy = NULL;
index b452d66..897421c 100644 (file)
@@ -24,8 +24,9 @@
 #include "core_math.h"
 #include "elementary_functions.h" /* C2F(dmmul) */
 #include "scicos.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gain(flag, nevprt, t, xd, x, nx, z, nz, tvec, 
+SCICOS_BLOCKS_IMPEXP void gain(flag, nevprt, t, xd, x, nx, z, nz, tvec, 
          ntvec, rpar, nrpar, ipar, nipar, u, nu, y, ny)
           int *flag, *nevprt,*nx,*nz,*nrpar, *ipar, *nipar,*ntvec,*nu,*ny;
           double *t, *xd, *x, *z, *tvec, *rpar, *u, *y;
index d16ada6..d414fa0 100644 (file)
 #include "scicos_block4.h"
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dmmul)();
 extern int C2F(dmmul1)();
 /*--------------------------------------------------------------------------*/ 
-void gainblk(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk(scicos_block *block,int flag)
 {
   int i = 0;
 
index b8ec16f..61e6b49 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "sciprint.h"
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "localization.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i16e(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i16e(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 77a10b5..46ad1bb 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i16n(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i16n(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index e0ac8d6..00ce91f 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i16s(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i16s(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index f41b53e..c6478f7 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "sciprint.h"
 #include "localization.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i32e(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i32e(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index ad5c28b..34d8f21 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i32n(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i32n(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 0459b93..0061edc 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i32s(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i32s(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 8443830..fc21f05 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "sciprint.h"
 #include "localization.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i8e(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i8e(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 803fd17..52c4604 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i8n(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i8n(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index dd78246..88523c4 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_i8s(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_i8s(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 7fcd0d8..0e0996f 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "sciprint.h"
 #include "localization.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui16e(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui16e(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 205f1aa..1026851 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui16n(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui16n(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index a518d3a..585d83d 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui16s(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui16s(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index a0c61d5..905427d 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "sciprint.h"
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "localization.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui32e(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui32e(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index a4e3b7f..85d66e5 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui32n(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui32n(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index cf5472b..df296d1 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui32s(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui32s(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 4ca5fa8..85989fb 100644 (file)
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "sciprint.h"
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "localization.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui8e(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui8e(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 5a8951b..8fd53d7 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui8n(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui8n(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 3fab728..3ff1046 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void gainblk_ui8s(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void gainblk_ui8s(scicos_block *block,int flag)
 {
  if ((flag==1)|(flag==6)){
   int i = 0,j = 0,l = 0,ji = 0,jl = 0,il = 0;
index 45ab110..96c1677 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void  hystheresis(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void  hystheresis(scicos_block *block,int flag)
 {
   if (flag==1){
     if (get_phase_simulation()==1||block->ng==0) {
index 824f823..a9b5483 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void  integral_func(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void  integral_func(scicos_block *block,int flag)
 {
        int i = 0;
   if (flag==0){
index a67d174..a243108 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void  integralz_func(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void  integralz_func(scicos_block *block,int flag)
 {
  int i = 0;
  double *ur = NULL,*ui = NULL;
index 728abf8..b568b60 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <stdio.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void invblk4(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void invblk4(scicos_block *block,int flag)
 {
   /* Copyright INRIA
      
index e162573..d2b6274 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logic(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logic(scicos_block *block,int flag)
 {
     char *u = NULL,*y = NULL;
     char inp,num;
index ebe8848..fb3cc1a 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop(scicos_block *block,int flag)
 {
   int i = 0,j = 0,k = 0,l = 0;
   i=block->ipar[0];
index f08c5c7..a289eba 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop_i16(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop_i16(scicos_block *block,int flag)
 {
   int i = 0,m = 0,n = 0,nin = 0,k = 0,j = 0,l = 0;
   int *ipar = NULL;
index e110613..92a6474 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop_i32(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop_i32(scicos_block *block,int flag)
 {
   int i = 0,m = 0,n = 0,nin = 0,k = 0,j = 0,l = 0;
   int *ipar = NULL;
index 8163a69..35bb118 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop_i8(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop_i8(scicos_block *block,int flag)
 {
   int i,m,n,nin,k,j,l;
   int *ipar;
index cbd2ad6..147a3f2 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop_m(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop_m(scicos_block *block,int flag)
 {
   int i = 0,m = 0,n = 0,nin = 0,k = 0,j = 0,l = 0;
   int *ipar = NULL;
index c4bbc17..4d5e283 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop_ui16(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop_ui16(scicos_block *block,int flag)
 {
   int i = 0,m = 0,n = 0,nin = 0,k = 0,j = 0,l = 0;
   int *ipar = NULL;
index 55ac811..a4595fd 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop_ui32(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop_ui32(scicos_block *block,int flag)
 {
   int i = 0,m = 0,n = 0,nin = 0,k = 0,j = 0,l = 0;
   int *ipar = NULL;
index b3820d8..3c6c611 100644 (file)
@@ -22,8 +22,9 @@
 #include <math.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void logicalop_ui8(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void logicalop_ui8(scicos_block *block,int flag)
 {
   int i = 0,m = 0,n = 0,nin = 0,k = 0,j = 0,l = 0;
   int *ipar = NULL;
index 0daaa35..69f4817 100644 (file)
@@ -23,6 +23,7 @@
 #include "scicos_block4.h"
 #include "scicos_indexfinder.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 #define InterpExtrapBlin  1
 #define InterpEndValue    2
@@ -33,7 +34,7 @@
 /*--------------------------------------------------------------------------*/ 
 double computeZ2(double *X, double *Y, double *Z, int nx, int ny, int method, double x, double y);
 /*--------------------------------------------------------------------------*/ 
-void lookup2d(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void lookup2d(scicos_block *block,int flag)
 {
   double *y = NULL, *u1 = NULL, *u2 = NULL;
   double *X = NULL, *Y = NULL, *Z = NULL;
index 26ba40b..fd6272b 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
 #include "scicos_evalhermite.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 /*    Masoud Najafi, January 2008 */
 /*    Copyright INRIA
@@ -38,7 +42,7 @@
 /*--------------------------------------------------------------------------*/ 
 static int FindIndex(int, double , int , int , double *, int);
 /*--------------------------------------------------------------------------*/ 
-void lookup_c(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void lookup_c(scicos_block *block,int flag)
 {
   double a = 0.,b = 0.,c = 0.,y1 = 0.,y2 = 0.,t1 = 0.,t2 = 0.;
   int *ind  = NULL,inow = 0,i = 0,ip1 = 0;
index b9e093b..993ea82 100644 (file)
 */
 /*--------------------------------------------------------------------------*/ 
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void m_frequ(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void m_frequ(scicos_block *block,int flag)
 {
   double *mat = NULL;
   double *Dt = NULL;
index 650462f..dce9f41 100644 (file)
 #include <math.h>
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dgetrf)();
 extern double C2F(dlamch)();
@@ -45,7 +49,7 @@ typedef struct
        double *LXB;
 } mat_bksl_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_bksl(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_bksl(scicos_block *block,int flag)
 {
  double *u1 = NULL;
  double *u2 = NULL;
index 7c28c77..0a1cc6c 100644 (file)
@@ -23,8 +23,9 @@
 #include "scicos_block4.h"
 #include "matz_cath.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void mat_cath(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_cath(scicos_block *block,int flag)
 {
        int mu = 0,nu = 0,nin = 0,so = 0,pointerposition = 0,ot = 0,i = 0;
        ot=GetOutType(block,1);
index 4b344e1..5d6947e 100644 (file)
 #include <stdio.h>
 #include "scicos_block4.h"
 #include "MALLOC.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern void matz_catv();
 /*--------------------------------------------------------------------------*/ 
-void mat_catv(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_catv(scicos_block *block,int flag)
 {
        int mu = 0,nu = 0,nin = 0,so = 0,pointerposition = 0,ot = 0,i = 0,j = 0;
        ot = GetOutType(block,1);
index 9789a36..004d50b 100644 (file)
 #include <stdio.h>
 #include "machine.h"
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dgetrf)();
 /*--------------------------------------------------------------------------*/ 
@@ -32,7 +36,7 @@ typedef struct
     double *wrk;
 } mat_det_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_det(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_det(scicos_block *block,int flag)
 {
  double *u = NULL;
  double *y = NULL;
index 071ac33..a201dc2 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void mat_diag(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_diag(scicos_block *block,int flag)
 {
        int mu = 0,i = 0,ii = 0;
        double *u1 = GetRealInPortPtrs(block,1);
index 58e9861..db5e6a9 100644 (file)
 #include <math.h>
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dgetrf)();
 extern double C2F(dlamch)();
@@ -45,7 +49,7 @@ typedef struct
        double *LAT;
 } mat_div_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_div(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_div(scicos_block *block,int flag)
 {
  double *u1 = NULL;
  double *u2 = NULL;
index 1034c24..ab637c2 100644 (file)
 #include <math.h>
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dexpm1)();
 /*--------------------------------------------------------------------------*/ 
@@ -33,7 +37,7 @@ typedef struct
        double *dwork;
 } mat_exp_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_expm(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_expm(scicos_block *block,int flag)
 {
  double *u = NULL;
  double *y = NULL;
index 40a6edc..6b77b59 100644 (file)
 #include <stdio.h>
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dgetrf)();
 extern int C2F(dgetri)();
@@ -33,7 +37,7 @@ typedef struct
        double *dwork;
 } mat_inv_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_inv(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_inv(scicos_block *block,int flag)
 {
  double *u = NULL;
  double *y = NULL;
index 453f1af..306fa70 100644 (file)
 #include <stdio.h>
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dgetrf)();
 extern int C2F(dlaswp)();
@@ -35,7 +39,7 @@ typedef struct
        double *IU;
 } mat_lu_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_lu(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_lu(scicos_block *block,int flag)
 {
  double *u = NULL;
  double *y1 = NULL;
index df1be42..7bfafbd 100755 (executable)
 #include <stdio.h>
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dgesvd)();
 extern int C2F(dlaset)();
@@ -44,7 +48,7 @@ typedef struct
        double *dwork;
 } mat_pinv_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_pinv(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_pinv(scicos_block *block,int flag)
 {
  double *u = NULL;
  double *y = NULL;
index a69d6c7..d201d9a 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void mat_reshape(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_reshape(scicos_block *block,int flag)
 {
        double *u1 = GetRealInPortPtrs(block,1);
        double *y = GetRealOutPortPtrs(block,1);
index 30b78d5..8d7a9c1 100644 (file)
 #include <stdio.h>
 #include "machine.h" /* C2F */
 #include "MALLOC.h"
+#include "scicos.h"
 #include "scicos_block4.h"
+#include "scicos_malloc.h"
+#include "scicos_free.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
 extern int C2F(dgesvd)();
 extern int C2F(dlaset)();
@@ -36,7 +40,7 @@ typedef struct
        double *dwork;
 } mat_sing_struct ;
 /*--------------------------------------------------------------------------*/ 
-void mat_sing(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_sing(scicos_block *block,int flag)
 {
  double *u = NULL;
  double *y = NULL;
index 1f1b1e4..c4d3d5a 100644 (file)
@@ -21,8 +21,9 @@
 /*--------------------------------------------------------------------------*/ 
 #include <math.h>
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void mat_sqrt(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_sqrt(scicos_block *block,int flag)
 {
        int i = 0;
        int mu = GetInPortRows(block,1);
index 0b35774..14960b6 100644 (file)
@@ -20,8 +20,9 @@
 */
 /*--------------------------------------------------------------------------*/ 
 #include "scicos_block4.h"
+#include "dynlib_scicos_blocks.h"
 /*--------------------------------------------------------------------------*/ 
-void mat_sum(scicos_block *block,int flag)
+SCICOS_BLOCKS_IMPEXP void mat_sum(scicos_block *block,int flag)
 {
        int i = 0;
        int mu = GetInPortRows(block,1);