wasm-micro-runtime/core/iwasm/common
liang.he@intel.com 779edfa277 feat(api): expose aligned allocation through wasm_runtime_aligned_alloc
Add public API for aligned memory allocation, exposing the existing
mem_allocator_malloc_aligned infrastructure through wasm_export.h.

- Add wasm_runtime_aligned_alloc() API declaration with documentation
- Implement internal helper wasm_runtime_aligned_alloc_internal()
- Add public function with size/alignment validation
- POOL mode only, returns NULL for other memory modes
- Follows wasm_runtime_malloc() patterns for consistency

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-16 09:00:06 +08:00
..
arch refactor: Improve debug experience with CFI directives and proper label naming in Thumb invokeNative (#4719) 2025-11-24 19:19:18 +08:00
gc gc: complete common heap type coverage in wasm_is_refheaptype_common() (#4801) 2026-01-28 13:03:20 +08:00
iwasm_common.cmake Implement invokeNative asm code for armasm64 assembler on ARM64 Windows (#4636) 2025-10-09 12:09:00 +08:00
SConscript Refactor SConscript and add file checks in iwasm.c (#3945) 2024-12-06 14:54:37 +08:00
wasm_application.c Merge dev/zephyr_file_socket into main (#4347) 2025-08-25 16:55:23 +08:00
wasm_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
wasm_c_api_internal.h Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm_c_api.c fix: missing locks in wasm_c_api (#4881) 2026-04-02 10:15:43 +08:00
wasm_exec_env.c feat: Add instruction metering for interpreter (#4122) 2025-05-26 16:16:42 +08:00
wasm_exec_env.h feat: Add instruction metering for interpreter (#4122) 2025-05-26 16:16:42 +08:00
wasm_loader_common.c add validation for struct field type (#4536) 2025-08-11 15:07:15 +08:00
wasm_loader_common.h add validation for struct field type (#4536) 2025-08-11 15:07:15 +08:00
wasm_memory.c feat(api): expose aligned allocation through wasm_runtime_aligned_alloc 2026-04-16 09:00:06 +08:00
wasm_memory.h Add a runtime API for reset shared heap(chain) (#4740) 2025-12-15 09:56:55 +08:00
wasm_native.c Enhance memory profiling with structured logging support (#4896) 2026-04-08 10:34:48 +08:00
wasm_native.h Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
wasm_runtime_common.c Enhance memory profiling with structured logging support (#4896) 2026-04-08 10:34:48 +08:00
wasm_runtime_common.h Enhance memory profiling with structured logging support (#4896) 2026-04-08 10:34:48 +08:00
wasm_shared_memory.c fix bug and add unit test case for runtime api when shared heap is enabled (#4695) 2025-11-11 16:22:45 +08:00
wasm_shared_memory.h Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
wasm_suspend_flags.h Do not inherit WASM_SUSPEND_FLAG_BLOCKING from the parent thread (#3051) 2024-01-19 09:55:01 +08:00