mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 21:26:21 +00:00
30 lines
589 B
C
30 lines
589 B
C
/*
|
|
* Copyright (C) 2024 Amazon Inc. All rights reserved.
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
*/
|
|
|
|
#ifndef _WASM_LOADER_COMMON_H
|
|
#define _WASM_LOADER_COMMON_H
|
|
|
|
#include "platform_common.h"
|
|
#include "../interpreter/wasm.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool
|
|
wasm_memory_check_flags(const uint8 mem_flag, char *error_buf,
|
|
uint32 error_buf_size, bool is_aot);
|
|
|
|
bool
|
|
is_valid_value_type(uint8 value_tpye);
|
|
|
|
bool
|
|
is_valid_func_type(const WASMFuncType *func_type);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* end of _WASM_LOADER_COMMON_H */ |