summaryrefslogtreecommitdiffstats
path: root/scilab/modules/symbolic/sci_gateway
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2009-08-31 13:06:36 +0200
committerAllan CORNET <allan.cornet@scilab.org>2009-08-31 13:06:36 +0200
commit8392a112e4c3bd40a2e63e30e5e5c82896e1f9bf (patch)
tree1a6c99dce2aeee71e6a127a5fa1b76ba56528799 /scilab/modules/symbolic/sci_gateway
parent8df2809accfda9540febcc93ef7dbca06cd50e9b (diff)
downloadscilab-8392a112e4c3bd40a2e63e30e5e5c82896e1f9bf.zip
scilab-8392a112e4c3bd40a2e63e30e5e5c82896e1f9bf.tar.gz
better way to do dll (symbolic module)
Diffstat (limited to 'scilab/modules/symbolic/sci_gateway')
-rw-r--r--scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c10
-rw-r--r--scilab/modules/symbolic/sci_gateway/c/sci_addsubf.c4
-rw-r--r--scilab/modules/symbolic/sci_gateway/c/sci_ldivf.c2
-rw-r--r--scilab/modules/symbolic/sci_gateway/c/sci_mulf.c2
-rw-r--r--scilab/modules/symbolic/sci_gateway/c/sci_rdivf.c2
5 files changed, 10 insertions, 10 deletions
diff --git a/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c b/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c
index 147ca06..d13156d 100644
--- a/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c
+++ b/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c
@@ -19,11 +19,11 @@
19#define SYMBOLIC_TAB_SIZE 5 19#define SYMBOLIC_TAB_SIZE 5
20static gw_generic_table Tab[SYMBOLIC_TAB_SIZE]= 20static gw_generic_table Tab[SYMBOLIC_TAB_SIZE]=
21{ 21{
22{C2F(sci_addf),"addf"}, 22{sci_addf,"addf"},
23{C2F(sci_subf),"subf"}, 23{sci_subf,"subf"},
24{C2F(sci_mulf),"mulf"}, 24{sci_mulf,"mulf"},
25{C2F(sci_ldivf),"ldivf"}, 25{sci_ldivf,"ldivf"},
26{C2F(sci_rdivf),"rdivf"} 26{sci_rdivf,"rdivf"}
27}; 27};
28/*--------------------------------------------------------------------------*/ 28/*--------------------------------------------------------------------------*/
29int gw_symbolic(void) 29int gw_symbolic(void)
diff --git a/scilab/modules/symbolic/sci_gateway/c/sci_addsubf.c b/scilab/modules/symbolic/sci_gateway/c/sci_addsubf.c
index 54a7d96..0486585 100644
--- a/scilab/modules/symbolic/sci_gateway/c/sci_addsubf.c
+++ b/scilab/modules/symbolic/sci_gateway/c/sci_addsubf.c
@@ -14,13 +14,13 @@
14/*--------------------------------------------------------------------------*/ 14/*--------------------------------------------------------------------------*/
15extern int C2F(sciaddfsubf)(char *fname,unsigned long fname_len); 15extern int C2F(sciaddfsubf)(char *fname,unsigned long fname_len);
16/*--------------------------------------------------------------------------*/ 16/*--------------------------------------------------------------------------*/
17int C2F(sci_addf)(char *fname,unsigned long fname_len) 17int sci_addf(char *fname,unsigned long fname_len)
18{ 18{
19 C2F(sciaddfsubf)(fname,fname_len); 19 C2F(sciaddfsubf)(fname,fname_len);
20 return 0; 20 return 0;
21} 21}
22/*--------------------------------------------------------------------------*/ 22/*--------------------------------------------------------------------------*/
23int C2F(sci_subf)(char *fname,unsigned long fname_len) 23int sci_subf(char *fname,unsigned long fname_len)
24{ 24{
25 C2F(sciaddfsubf)(fname,fname_len); 25 C2F(sciaddfsubf)(fname,fname_len);
26 return 0; 26 return 0;
diff --git a/scilab/modules/symbolic/sci_gateway/c/sci_ldivf.c b/scilab/modules/symbolic/sci_gateway/c/sci_ldivf.c
index 91eb71a..51cc0f3 100644
--- a/scilab/modules/symbolic/sci_gateway/c/sci_ldivf.c
+++ b/scilab/modules/symbolic/sci_gateway/c/sci_ldivf.c
@@ -14,7 +14,7 @@
14/*--------------------------------------------------------------------------*/ 14/*--------------------------------------------------------------------------*/
15extern int C2F(scildivf)(char *fname,unsigned long fname_len); 15extern int C2F(scildivf)(char *fname,unsigned long fname_len);
16/*--------------------------------------------------------------------------*/ 16/*--------------------------------------------------------------------------*/
17int C2F(sci_ldivf)(char *fname,unsigned long fname_len) 17int sci_ldivf(char *fname,unsigned long fname_len)
18{ 18{
19 C2F(scildivf)(fname,fname_len); 19 C2F(scildivf)(fname,fname_len);
20 return 0; 20 return 0;
diff --git a/scilab/modules/symbolic/sci_gateway/c/sci_mulf.c b/scilab/modules/symbolic/sci_gateway/c/sci_mulf.c
index 508db1a..1d204cb 100644
--- a/scilab/modules/symbolic/sci_gateway/c/sci_mulf.c
+++ b/scilab/modules/symbolic/sci_gateway/c/sci_mulf.c
@@ -14,7 +14,7 @@
14/*--------------------------------------------------------------------------*/ 14/*--------------------------------------------------------------------------*/
15extern int C2F(scimulf)(char *fname,unsigned long fname_len); 15extern int C2F(scimulf)(char *fname,unsigned long fname_len);
16/*--------------------------------------------------------------------------*/ 16/*--------------------------------------------------------------------------*/
17int C2F(sci_mulf)(char *fname,unsigned long fname_len) 17int sci_mulf(char *fname,unsigned long fname_len)
18{ 18{
19 C2F(scimulf)(fname,fname_len); 19 C2F(scimulf)(fname,fname_len);
20 return 0; 20 return 0;
diff --git a/scilab/modules/symbolic/sci_gateway/c/sci_rdivf.c b/scilab/modules/symbolic/sci_gateway/c/sci_rdivf.c
index 1843df2..51ac3de 100644
--- a/scilab/modules/symbolic/sci_gateway/c/sci_rdivf.c
+++ b/scilab/modules/symbolic/sci_gateway/c/sci_rdivf.c
@@ -14,7 +14,7 @@
14/*--------------------------------------------------------------------------*/ 14/*--------------------------------------------------------------------------*/
15extern int C2F(scirdivf)(char *fname,unsigned long fname_len); 15extern int C2F(scirdivf)(char *fname,unsigned long fname_len);
16/*--------------------------------------------------------------------------*/ 16/*--------------------------------------------------------------------------*/
17int C2F(sci_rdivf)(char *fname,unsigned long fname_len) 17int sci_rdivf(char *fname,unsigned long fname_len)
18{ 18{
19 C2F(scirdivf)(fname,fname_len); 19 C2F(scirdivf)(fname,fname_len);
20 return 0; 20 return 0;