wasm_loader_common.h 454 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2024 Amazon Inc. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _WASM_LOADER_COMMON_H
  6. #define _WASM_LOADER_COMMON_H
  7. #include "platform_common.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. bool
  12. wasm_memory_check_flags(const uint8 mem_flag, char *error_buf,
  13. uint32 error_buf_size, bool is_aot);
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif /* end of _WASM_LOADER_COMMON_H */