1 
2 /*
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA - Allan CORNET
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  */
16 
17 #ifndef __SCIERROR__
18 #define __SCIERROR__
19 
20 #include <stdarg.h>
21 #include <wchar.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 #include "do_error_number.h"
27 
28 #define bsiz 4096
29 /*
30 * as sciprint but with an added first argument
31 * which is ignored (used in do_printf)
32 * @param iv error code
33 * @param fmt
34 * @param ...
35 */
36 int  Scierror(int iv, const char *fmt, ...);
37 //int  ScierrorW(int iv, const wchar_t *fmt,...);
38 
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 #endif /* __SCIERROR__ */
44 /*--------------------------------------------------------------------------*/
45