* Bug #14397 fixed - mgeti did not read u-int64 > 2^52
[scilab.git] / scilab / modules / fileio / includes / fileio_gw.hxx
1 /*
2  *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  *  Copyright (C) 2010-2011 - DIGITEO - Bruno JOFRET
4  *
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  *
7  * This file is hereby licensed under the terms of the GNU GPL v2.0,
8  * pursuant to article 5.3.4 of the CeCILL v.2.1.
9  * This file was originally licensed under the terms of the CeCILL v2.1,
10  * and continues to be available under such terms.
11  * For more information, see the COPYING file which you should have received
12  * along with this program.
13  *
14  */
15
16 #ifndef __FILEIO_GW_HXX__
17 #define __FILEIO_GW_HXX__
18
19 #include "cpp_gateway_prototype.hxx"
20
21 #ifdef _MSC_VER
22 #if FILEIO_GW_EXPORTS
23 #define EXTERN_FILEIO_GW __declspec (dllexport)
24 #else
25 #define EXTERN_FILEIO_GW __declspec (dllimport)
26 #endif
27 #else
28 #define EXTERN_FILEIO_GW
29 #endif
30
31 class FileioModule
32 {
33 private :
34     FileioModule() {};
35     ~FileioModule() {};
36
37 public :
38     EXTERN_FILEIO_GW static int Load();
39     EXTERN_FILEIO_GW static int Unload()
40     {
41         return 1;
42     }
43 };
44
45 CPP_GATEWAY_PROTOTYPE(sci_mopen);
46 CPP_GATEWAY_PROTOTYPE(sci_mclose);
47 CPP_GATEWAY_PROTOTYPE(sci_mput);
48 CPP_GATEWAY_PROTOTYPE(sci_mget);
49 CPP_GATEWAY_PROTOTYPE(sci_mgeti);
50 CPP_GATEWAY_PROTOTYPE(sci_mputl);
51 CPP_GATEWAY_PROTOTYPE(sci_mgetl);
52 CPP_GATEWAY_PROTOTYPE(sci_pathconvert);
53 CPP_GATEWAY_PROTOTYPE(sci_isdir);
54 CPP_GATEWAY_PROTOTYPE(sci_filesep);
55 CPP_GATEWAY_PROTOTYPE(sci_fileparts);
56 CPP_GATEWAY_PROTOTYPE(sci_findfiles);
57 CPP_GATEWAY_PROTOTYPE(sci_basename);
58 CPP_GATEWAY_PROTOTYPE(sci_isfile);
59 CPP_GATEWAY_PROTOTYPE(sci_fileinfo);
60 CPP_GATEWAY_PROTOTYPE(sci_deletefile);
61 CPP_GATEWAY_PROTOTYPE(sci_getshortpathname);
62 CPP_GATEWAY_PROTOTYPE(sci_getlongpathname);
63 CPP_GATEWAY_PROTOTYPE(sci_fileext);
64 CPP_GATEWAY_PROTOTYPE(sci_createdir);
65 CPP_GATEWAY_PROTOTYPE(sci_fullpath);
66 CPP_GATEWAY_PROTOTYPE(sci_removedir);
67 CPP_GATEWAY_PROTOTYPE(sci_meof);
68 CPP_GATEWAY_PROTOTYPE(sci_mputstr);
69 CPP_GATEWAY_PROTOTYPE(sci_mgetstr);
70 CPP_GATEWAY_PROTOTYPE(sci_mseek);
71 CPP_GATEWAY_PROTOTYPE(sci_mtell);
72 CPP_GATEWAY_PROTOTYPE(sci_newest);
73 CPP_GATEWAY_PROTOTYPE(sci_merror);
74 CPP_GATEWAY_PROTOTYPE(sci_mclearerr);
75 CPP_GATEWAY_PROTOTYPE(sci_get_absolute_file_path);
76 CPP_GATEWAY_PROTOTYPE(sci_getrelativefilename);
77 CPP_GATEWAY_PROTOTYPE(sci_pathsep);
78 CPP_GATEWAY_PROTOTYPE(sci_mfprintf);
79 CPP_GATEWAY_PROTOTYPE(sci_mscanf);
80 CPP_GATEWAY_PROTOTYPE(sci_mfscanf);
81 CPP_GATEWAY_PROTOTYPE(sci_msscanf);
82 CPP_GATEWAY_PROTOTYPE(sci_getdrives);
83
84 #endif /* !__FILEIO_GW_HXX__ */