2 * Copyright 2015 Iván Matellanes
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 typedef LONG streamoff
;
24 typedef LONG streampos
;
26 typedef void* (__cdecl
*allocFunction
)(LONG
);
27 typedef void (__cdecl
*freeFunction
)(void*);
30 IOSTATE_goodbit
= 0x0,
32 IOSTATE_failbit
= 0x2,
41 OPENMODE_trunc
= 0x10,
42 OPENMODE_nocreate
= 0x20,
43 OPENMODE_noreplace
= 0x40,
44 OPENMODE_binary
= 0x80
61 FLAGS_showbase
= 0x80,
62 FLAGS_showpoint
= 0x100,
63 FLAGS_uppercase
= 0x200,
64 FLAGS_showpos
= 0x400,
65 FLAGS_scientific
= 0x800,
67 FLAGS_unitbuf
= 0x2000,
71 extern void* (__cdecl
*MSVCRT_operator_new
)(SIZE_T
);
72 extern void (__cdecl
*MSVCRT_operator_delete
)(void*);
74 void init_exception(void*);