add checkNamedArguments function to get unexpected named arguments.
[scilab.git] / scilab / modules / core / includes / core_gw.hxx
1 /*
2 *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 *  Copyright (C) 2008-2008 - DIGITEO - Antoine ELIAS
4 *  Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
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 __CORE_GW_HXX__
18 #define __CORE_GW_HXX__
19
20 #include "cpp_gateway_prototype.hxx"
21 #include "dynlib_core_gw.h"
22
23 class CoreModule
24 {
25 private :
26     CoreModule() {};
27     ~CoreModule() {};
28 public :
29     CORE_GW_IMPEXP static int Load();
30     CORE_GW_IMPEXP static int Unload()
31     {
32         return 1;
33     }
34 };
35
36 CPP_GATEWAY_PROTOTYPE(sci_getmodules);
37 CPP_GATEWAY_PROTOTYPE(sci_clear);
38 CPP_GATEWAY_PROTOTYPE(sci_banner);
39 CPP_GATEWAY_PROTOTYPE(sci_quit);
40 CPP_GATEWAY_PROTOTYPE(sci_exit);
41 CPP_GATEWAY_PROTOTYPE(sci_exists);
42 CPP_GATEWAY_PROTOTYPE(sci_isdef);
43 CPP_GATEWAY_PROTOTYPE(sci_argn);
44 CPP_GATEWAY_PROTOTYPE(sci_global);
45 CPP_GATEWAY_PROTOTYPE(sci_clearglobal);
46 CPP_GATEWAY_PROTOTYPE(sci_isglobal);
47 CPP_GATEWAY_PROTOTYPE(sci_getscilabmode);
48 CPP_GATEWAY_PROTOTYPE(sci_getos);
49 CPP_GATEWAY_PROTOTYPE(sci_with_module);
50 CPP_GATEWAY_PROTOTYPE(sci_lasterror);
51 CPP_GATEWAY_PROTOTYPE(sci_getversion);
52 CPP_GATEWAY_PROTOTYPE(sci_warning);
53 CPP_GATEWAY_PROTOTYPE(sci_getmd5);
54 CPP_GATEWAY_PROTOTYPE(sci_error);
55 CPP_GATEWAY_PROTOTYPE(sci_pause);
56 CPP_GATEWAY_PROTOTYPE(sci_abort);
57 CPP_GATEWAY_PROTOTYPE(sci_who);
58 CPP_GATEWAY_PROTOTYPE(sci_sciargs);
59 CPP_GATEWAY_PROTOTYPE(sci_format);
60 CPP_GATEWAY_PROTOTYPE(sci_ieee);
61 CPP_GATEWAY_PROTOTYPE(sci_funcprot);
62 CPP_GATEWAY_PROTOTYPE(sci_mode);
63 CPP_GATEWAY_PROTOTYPE(sci_typename);
64 CPP_GATEWAY_PROTOTYPE(sci_what);
65 CPP_GATEWAY_PROTOTYPE(sci_where);
66 CPP_GATEWAY_PROTOTYPE(sci_getmemory);
67 CPP_GATEWAY_PROTOTYPE(sci_errclear);
68 CPP_GATEWAY_PROTOTYPE(sci_intppty);
69 CPP_GATEWAY_PROTOTYPE(sci_newfun);
70 CPP_GATEWAY_PROTOTYPE(sci_clearfun);
71 CPP_GATEWAY_PROTOTYPE(sci_funptr);
72 CPP_GATEWAY_PROTOTYPE(sci_analyzeroptions);
73 CPP_GATEWAY_PROTOTYPE(sci_macr2tree);
74 CPP_GATEWAY_PROTOTYPE(sci_predef);
75 CPP_GATEWAY_PROTOTYPE(sci_debug);
76 CPP_GATEWAY_PROTOTYPE(sci_recursionlimit);
77 CPP_GATEWAY_PROTOTYPE(sci_type);
78 CPP_GATEWAY_PROTOTYPE(sci_list_gw);
79 CPP_GATEWAY_PROTOTYPE(sci_struct_gw);
80 CPP_GATEWAY_PROTOTYPE(sci_null);
81 CPP_GATEWAY_PROTOTYPE(sci_insert);
82 CPP_GATEWAY_PROTOTYPE(sci_cell_gw);
83 CPP_GATEWAY_PROTOTYPE(sci_makecell);
84 CPP_GATEWAY_PROTOTYPE(sci_typeof);
85 CPP_GATEWAY_PROTOTYPE(sci_tlist_gw);
86 CPP_GATEWAY_PROTOTYPE(sci_mlist_gw);
87 CPP_GATEWAY_PROTOTYPE(sci_isfield);
88 CPP_GATEWAY_PROTOTYPE(sci_fieldnames);
89 CPP_GATEWAY_PROTOTYPE(sci_oldEmptyBehaviour);
90 CPP_GATEWAY_PROTOTYPE(sci_checkNamedArguments);
91
92 #ifndef NDEBUG
93 CPP_GATEWAY_PROTOTYPE(sci_inspectorGetItemCount);
94 CPP_GATEWAY_PROTOTYPE(sci_inspectorShowItem);
95 CPP_GATEWAY_PROTOTYPE(sci_inspectorGetItem);
96 CPP_GATEWAY_PROTOTYPE(sci_inspectorGetUnreferencedItem);
97 CPP_GATEWAY_PROTOTYPE(sci_inspectorDeleteUnreferencedItems);
98 CPP_GATEWAY_PROTOTYPE(sci_inspectorShowUnreferencedItem);
99 CPP_GATEWAY_PROTOTYPE(sci_inspectorGetFunctionList);
100 #endif
101
102 #endif /* __CORE_GW_HXX__ */