wasm-micro-runtime/core/shared/mem-alloc/ems
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
..
ems_alloc.c feat(api): expose aligned allocation through wasm_runtime_aligned_alloc 2026-04-16 09:00:06 +08:00
ems_gc_internal.h feat(api): expose aligned allocation through wasm_runtime_aligned_alloc 2026-04-16 09:00:06 +08:00
ems_gc.c Fix memory leak in GC when rootset enumeration fails (#4793) 2026-01-26 09:12:23 +08:00
ems_gc.h feat(api): expose aligned allocation through wasm_runtime_aligned_alloc 2026-04-16 09:00:06 +08:00
ems_hmu.c fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
ems_kfc.c Enhance memory profiling with structured logging support (#4896) 2026-04-08 10:34:48 +08:00