summaryrefslogtreecommitdiffstats
path: root/scilab/modules/core
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-03-31 13:33:50 +0200
committerAllan CORNET <allan.cornet@scilab.org>2010-03-31 13:33:50 +0200
commit41500584673cdf535abc957366d5c3df4324252c (patch)
treeab46666409e645bf90948fe5e11a98bd513d9a00 /scilab/modules/core
parent8a146c4afa6738cbff83557dde2ae4e5cc31df72 (diff)
downloadscilab-41500584673cdf535abc957366d5c3df4324252c.zip
scilab-41500584673cdf535abc957366d5c3df4324252c.tar.gz
move Msgs in output_stream
Diffstat (limited to 'scilab/modules/core')
-rw-r--r--scilab/modules/core/src/c/parse.c9
-rw-r--r--scilab/modules/core/src/c/parse.h8
2 files changed, 3 insertions, 14 deletions
diff --git a/scilab/modules/core/src/c/parse.c b/scilab/modules/core/src/c/parse.c
index 079a6df..ae0d389 100644
--- a/scilab/modules/core/src/c/parse.c
+++ b/scilab/modules/core/src/c/parse.c
@@ -29,6 +29,8 @@
29#include "Scierror.h" 29#include "Scierror.h"
30#include "prompt.h" 30#include "prompt.h"
31#include "dynamic_menus.h" 31#include "dynamic_menus.h"
32#include "msgs.h"
33#include "eqid.h"
32/*--------------------------------------------------------------------------*/ 34/*--------------------------------------------------------------------------*/
33#undef Lstk 35#undef Lstk
34#undef Infstk 36#undef Infstk
@@ -68,7 +70,7 @@ extern int C2F(stackp)(int *,int *);
68extern int C2F(macro)(void); 70extern int C2F(macro)(void);
69extern int C2F(getsym)(void); 71extern int C2F(getsym)(void);
70 72
71extern int C2F(eqid)(int *,int *); 73
72 74
73extern int C2F(bexec)(char *,int *,int *); 75extern int C2F(bexec)(char *,int *,int *);
74 76
@@ -91,11 +93,6 @@ extern int C2F(eptover)(int *,int *);/* see src/fortran/eptover.f */
91/*--------------------------------------------------------------------------*/ 93/*--------------------------------------------------------------------------*/
92void handle_onprompt(int *n); 94void handle_onprompt(int *n);
93/*--------------------------------------------------------------------------*/ 95/*--------------------------------------------------------------------------*/
94void Msgs(int n,int ierr)
95{
96 C2F(msgs)(&n,&ierr);
97}
98/*--------------------------------------------------------------------------*/
99static int Compil(int code,int * val1,int val2,int val3,int val4) 96static int Compil(int code,int * val1,int val2,int val3,int val4)
100{ 97{
101 return C2F(compil)(&code, val1, &val2, &val3, &val4); 98 return C2F(compil)(&code, val1, &val2, &val3, &val4);
diff --git a/scilab/modules/core/src/c/parse.h b/scilab/modules/core/src/c/parse.h
index 4ec6b10..737a91a 100644
--- a/scilab/modules/core/src/c/parse.h
+++ b/scilab/modules/core/src/c/parse.h
@@ -25,14 +25,6 @@ int C2F(parse)(void);
25 * @TODO : add comment 25 * @TODO : add comment
26 * 26 *
27 * @param n 27 * @param n
28 * @param ierr
29 */
30void Msgs(int n,int ierr);
31
32/**
33 * @TODO : add comment
34 *
35 * @param n
36 * @return <ReturnValue> 28 * @return <ReturnValue>
37 */ 29 */
38int Eptover(int n); 30int Eptover(int n);