File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
22
22
#define WABT_BINARY_MAGIC 0x6d736100
23
23
#define WABT_BINARY_VERSION 1
24
- #define WABT_MODULE_LAYER 0
25
- #define WABT_COMPONENT_LAYER 1
24
+ #define WABT_BINARY_LAYER_MODULE 0
25
+ #define WABT_BINARY_LAYER_COMPONENT 1
26
26
#define WABT_BINARY_LIMITS_HAS_MAX_FLAG 0x1
27
27
#define WABT_BINARY_LIMITS_IS_SHARED_FLAG 0x2
28
28
#define WABT_BINARY_LIMITS_IS_64_FLAG 0x4
Original file line number Diff line number Diff line change @@ -3102,12 +3102,12 @@ Result BinaryReader::ReadModule(const ReadModuleOptions& options) {
3102
3102
CHECK_RESULT (ReadU16 (&layer, " layer" ));
3103
3103
3104
3104
switch (layer) {
3105
- case WABT_MODULE_LAYER :
3105
+ case WABT_BINARY_LAYER_MODULE :
3106
3106
ERROR_UNLESS (version == WABT_BINARY_VERSION,
3107
3107
" bad wasm file version: %#x (expected %#x)" , version,
3108
3108
WABT_BINARY_VERSION);
3109
3109
break ;
3110
- case WABT_COMPONENT_LAYER :
3110
+ case WABT_BINARY_LAYER_COMPONENT :
3111
3111
ERROR (" wasm components are not yet supported in this tool" );
3112
3112
break ;
3113
3113
default :
You can’t perform that action at this time.
0 commit comments