summaryrefslogtreecommitdiffstats
path: root/scilab/modules/symbolic/sci_gateway
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2009-05-28 14:57:12 +0200
committerAllan CORNET <allan.cornet@scilab.org>2009-05-28 14:57:12 +0200
commit1d1eee7f88c97afcfa48add661b6dd3190965893 (patch)
tree4ae1f9a199d227086a9c696291ea078782541c19 /scilab/modules/symbolic/sci_gateway
parentde4078e9de631a0d6516144bab54a6699fb38651 (diff)
downloadscilab-1d1eee7f88c97afcfa48add661b6dd3190965893.zip
scilab-1d1eee7f88c97afcfa48add661b6dd3190965893.tar.gz
bug 3580
Diffstat (limited to 'scilab/modules/symbolic/sci_gateway')
-rw-r--r--scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c b/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c
index 8109f7c..147ca06 100644
--- a/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c
+++ b/scilab/modules/symbolic/sci_gateway/c/gw_symbolic.c
@@ -16,7 +16,8 @@
16#include "Scierror.h" 16#include "Scierror.h"
17#include "localization.h" 17#include "localization.h"
18/*--------------------------------------------------------------------------*/ 18/*--------------------------------------------------------------------------*/
19static gw_generic_table Tab[]= 19#define SYMBOLIC_TAB_SIZE 5
20static gw_generic_table Tab[SYMBOLIC_TAB_SIZE]=
20{ 21{
21{C2F(sci_addf),"addf"}, 22{C2F(sci_addf),"addf"},
22{C2F(sci_subf),"subf"}, 23{C2F(sci_subf),"subf"},
@@ -32,7 +33,7 @@ int gw_symbolic(void)
32 Scierror(39,_("%s: Wrong number of input arguments: %d expected.\n"),Tab[Fin-1].name, 2); 33 Scierror(39,_("%s: Wrong number of input arguments: %d expected.\n"),Tab[Fin-1].name, 2);
33 return 0; 34 return 0;
34 } 35 }
35 callFunctionFromGateway(Tab); 36 callFunctionFromGateway(Tab,SYMBOLIC_TAB_SIZE);
36 return 0; 37 return 0;
37} 38}
38/*--------------------------------------------------------------------------*/ 39/*--------------------------------------------------------------------------*/