blob: fc6a910f9aa0f3349c47d8c824a40c21b11d0a4c (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#define SECTION_CUSTOM 0
#define SECTION_TYPE 1
#define SECTION_IMPORT 2
#define SECTION_FUNCTION 3
#define SECTION_TABLE 4
#define SECTION_MEMORY 5
#define SECTION_GLOBAL 6
#define SECTION_EXPORT 7
#define SECTION_START 8
#define SECTION_ELEMENT 9
#define SECTION_CODE 10
#define SECTION_DATA 11
#define VALTYPE_I32 0x7F
#define VALTYPE_I64 0x7E
#define VALTYPE_F32 0x7D
#define VALTYPE_F64 0x7C
#define EXPORT_FUNCIDX 0x00
#define EXPORT_TABLEIDX 0x01
#define EXPORT_MEMIDX 0x02
#define EXPORT_GLOBALIDX 0x03
|