summaryrefslogtreecommitdiffstats
path: root/scilab/modules/tclsci
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-02-12 14:13:29 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-02-12 14:13:29 +0100
commitdc63bbedc09128a3ee605af7c0f7d343eb5296a9 (patch)
tree45e8253e38ce67fe3f74bc6c273a40410bff811a /scilab/modules/tclsci
parent53cb6714c0ecac06bc4b51ba2d3891c0bf553492 (diff)
downloadscilab-dc63bbedc09128a3ee605af7c0f7d343eb5296a9.zip
scilab-dc63bbedc09128a3ee605af7c0f7d343eb5296a9.tar.gz
export only used functions (Windows)
Diffstat (limited to 'scilab/modules/tclsci')
-rw-r--r--scilab/modules/tclsci/includes/GedManagement.h5
-rw-r--r--scilab/modules/tclsci/includes/GlobalTclInterp.h15
-rw-r--r--scilab/modules/tclsci/includes/gw_tclsci.h28
3 files changed, 23 insertions, 25 deletions
diff --git a/scilab/modules/tclsci/includes/GedManagement.h b/scilab/modules/tclsci/includes/GedManagement.h
index 17775e3..d4b6d15 100644
--- a/scilab/modules/tclsci/includes/GedManagement.h
+++ b/scilab/modules/tclsci/includes/GedManagement.h
@@ -17,14 +17,13 @@
17#ifndef __GEDMANAGEMENT_H_ 17#ifndef __GEDMANAGEMENT_H_
18#define __GEDMANAGEMENT_H_ 18#define __GEDMANAGEMENT_H_
19/*--------------------------------------------------------------------------------*/ 19/*--------------------------------------------------------------------------------*/
20#include "dynlib_tclsci.h"
21 20
22/* close the graphic editor linked with the window figureId */ 21/* close the graphic editor linked with the window figureId */
23TCLSCI_IMPEXP int sciDestroyGed( int figureId ) ; 22int sciDestroyGed( int figureId ) ;
24/*--------------------------------------------------------------------------------*/ 23/*--------------------------------------------------------------------------------*/
25 24
26/*--------------------------------------------------------------------------------*/ 25/*--------------------------------------------------------------------------------*/
27/* return true if ged is opened on the window figureId */ 26/* return true if ged is opened on the window figureId */
28TCLSCI_IMPEXP int isGedOpenedOn( int figureId ) ; 27int isGedOpenedOn( int figureId ) ;
29/*--------------------------------------------------------------------------------*/ 28/*--------------------------------------------------------------------------------*/
30#endif /* __GEDMANAGEMENT_H_ */ 29#endif /* __GEDMANAGEMENT_H_ */
diff --git a/scilab/modules/tclsci/includes/GlobalTclInterp.h b/scilab/modules/tclsci/includes/GlobalTclInterp.h
index 9270672..568c56d 100644
--- a/scilab/modules/tclsci/includes/GlobalTclInterp.h
+++ b/scilab/modules/tclsci/includes/GlobalTclInterp.h
@@ -15,44 +15,43 @@
15 15
16#include <tcl.h> 16#include <tcl.h>
17#include <tk.h> 17#include <tk.h>
18#include "dynlib_tclsci.h"
19#include "BOOL.h" 18#include "BOOL.h"
20 19
21 20
22/* 21/*
23** Initialize the global interpreter. 22** Initialize the global interpreter.
24*/ 23*/
25TCLSCI_IMPEXP void initTclInterp(void); 24void initTclInterp(void);
26 25
27/* 26/*
28** Delete the global interpreter. 27** Delete the global interpreter.
29*/ 28*/
30TCLSCI_IMPEXP void deleteTclInterp(void); 29void deleteTclInterp(void);
31 30
32/* 31/*
33** Get the Global Interpreter 32** Get the Global Interpreter
34*/ 33*/
35TCLSCI_IMPEXP Tcl_Interp *getTclInterp(void); 34Tcl_Interp *getTclInterp(void);
36 35
37/* 36/*
38** Release Tcl Interp after use. 37** Release Tcl Interp after use.
39*/ 38*/
40TCLSCI_IMPEXP void releaseTclInterp(void); 39void releaseTclInterp(void);
41 40
42/* 41/*
43** Get the Global Interpreter 42** Get the Global Interpreter
44** without any Control 43** without any Control
45*/ 44*/
46TCLSCI_IMPEXP Tcl_Interp *requestTclInterp(void); 45Tcl_Interp *requestTclInterp(void);
47 46
48/* 47/*
49** Check if global interp exists. 48** Check if global interp exists.
50*/ 49*/
51TCLSCI_IMPEXP BOOL existsGlobalInterp(void); 50BOOL existsGlobalInterp(void);
52 51
53/* 52/*
54** Check if slave interp exists. 53** Check if slave interp exists.
55*/ 54*/
56TCLSCI_IMPEXP BOOL existsSlaveInterp(char *name); 55BOOL existsSlaveInterp(char *name);
57 56
58#endif /* !__GLOBALTCLINTERP_H___ */ 57#endif /* !__GLOBALTCLINTERP_H___ */
diff --git a/scilab/modules/tclsci/includes/gw_tclsci.h b/scilab/modules/tclsci/includes/gw_tclsci.h
index ad974cf..18c6b15 100644
--- a/scilab/modules/tclsci/includes/gw_tclsci.h
+++ b/scilab/modules/tclsci/includes/gw_tclsci.h
@@ -20,20 +20,20 @@
20/*--------------------------------------------------------------------------*/ 20/*--------------------------------------------------------------------------*/
21TCLSCI_IMPEXP int gw_tclsci(void); 21TCLSCI_IMPEXP int gw_tclsci(void);
22/*--------------------------------------------------------------------------*/ 22/*--------------------------------------------------------------------------*/
23TCLSCI_IMPEXP int sci_TCL_DoOneEvent (char *fname,unsigned long fname_len); 23int sci_TCL_DoOneEvent (char *fname,unsigned long fname_len);
24TCLSCI_IMPEXP int sci_TCL_EvalFile(char *fname,unsigned long fname_len); 24int sci_TCL_EvalFile(char *fname,unsigned long fname_len);
25TCLSCI_IMPEXP int sci_TCL_EvalStr(char *fname,unsigned long fname_len); 25int sci_TCL_EvalStr(char *fname,unsigned long fname_len);
26TCLSCI_IMPEXP int sci_TCL_GetVar(char *fname,unsigned long fname_len); 26int sci_TCL_GetVar(char *fname,unsigned long fname_len);
27TCLSCI_IMPEXP int sci_TCL_SetVar(char *fname,unsigned long fname_len); 27int sci_TCL_SetVar(char *fname,unsigned long fname_len);
28TCLSCI_IMPEXP int sci_opentk(char *fname,unsigned long fname_len); 28int sci_opentk(char *fname,unsigned long fname_len);
29TCLSCI_IMPEXP int sci_TCL_GetVersion(char *fname,unsigned long fname_len); 29int sci_TCL_GetVersion(char *fname,unsigned long fname_len);
30TCLSCI_IMPEXP int sci_TCL_UnsetVar(char *fname,unsigned long fname_len); 30int sci_TCL_UnsetVar(char *fname,unsigned long fname_len);
31TCLSCI_IMPEXP int sci_TCL_ExistVar(char *fname,unsigned long fname_len); 31int sci_TCL_ExistVar(char *fname,unsigned long fname_len);
32TCLSCI_IMPEXP int sci_TCL_UpVar(char *fname,unsigned long fname_len); 32int sci_TCL_UpVar(char *fname,unsigned long fname_len);
33TCLSCI_IMPEXP int sci_TCL_DeleteInterp(char *fname,unsigned long fname_len); 33int sci_TCL_DeleteInterp(char *fname,unsigned long fname_len);
34TCLSCI_IMPEXP int sci_TCL_CreateSlave(char *fname,unsigned long fname_len); 34int sci_TCL_CreateSlave(char *fname,unsigned long fname_len);
35TCLSCI_IMPEXP int sci_TCL_ExistInterp(char *fname,unsigned long fname_len); 35int sci_TCL_ExistInterp(char *fname,unsigned long fname_len);
36TCLSCI_IMPEXP int sci_TCL_ExistArray(char *fname,unsigned long fname_len); 36int sci_TCL_ExistArray(char *fname,unsigned long fname_len);
37/*--------------------------------------------------------------------------*/ 37/*--------------------------------------------------------------------------*/
38#endif /* __GW_TCLSCI__ */ 38#endif /* __GW_TCLSCI__ */
39/*--------------------------------------------------------------------------*/ 39/*--------------------------------------------------------------------------*/