summaryrefslogtreecommitdiffstats
path: root/scilab/modules/output_stream
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/output_stream
parent8a146c4afa6738cbff83557dde2ae4e5cc31df72 (diff)
downloadscilab-41500584673cdf535abc957366d5c3df4324252c.zip
scilab-41500584673cdf535abc957366d5c3df4324252c.tar.gz
move Msgs in output_stream
Diffstat (limited to 'scilab/modules/output_stream')
-rw-r--r--scilab/modules/output_stream/includes/msgs.h10
-rw-r--r--scilab/modules/output_stream/src/c/msgs.c5
2 files changed, 15 insertions, 0 deletions
diff --git a/scilab/modules/output_stream/includes/msgs.h b/scilab/modules/output_stream/includes/msgs.h
index 3571b0a..19259aa 100644
--- a/scilab/modules/output_stream/includes/msgs.h
+++ b/scilab/modules/output_stream/includes/msgs.h
@@ -25,4 +25,14 @@
25 */ 25 */
26OUTPUT_STREAM_IMPEXP int C2F(msgs)(int *n, int *ierr); 26OUTPUT_STREAM_IMPEXP int C2F(msgs)(int *n, int *ierr);
27 27
28
29/**
30* @TODO : add comment
31*
32* @param n
33* @param ierr
34*/
35OUTPUT_STREAM_IMPEXP void Msgs(int n,int ierr);
36
37
28#endif /* __MSGS_H__ */ 38#endif /* __MSGS_H__ */
diff --git a/scilab/modules/output_stream/src/c/msgs.c b/scilab/modules/output_stream/src/c/msgs.c
index 0fe261e..7377176 100644
--- a/scilab/modules/output_stream/src/c/msgs.c
+++ b/scilab/modules/output_stream/src/c/msgs.c
@@ -146,6 +146,11 @@ static int msg_115(int *n, int *ierr);
146 146
147static int msg_default(int *n, int *ierr); 147static int msg_default(int *n, int *ierr);
148/*--------------------------------------------------------------------------*/ 148/*--------------------------------------------------------------------------*/
149void Msgs(int n,int ierr)
150{
151 C2F(msgs)(&n,&ierr);
152}
153/*--------------------------------------------------------------------------*/
149int C2F(msgs)(int *n, int *ierr) 154int C2F(msgs)(int *n, int *ierr)
150{ 155{
151 if ( getWarningMode() ) 156 if ( getWarningMode() )