diff options
Diffstat (limited to 'src/wasmrt.h')
| -rw-r--r-- | src/wasmrt.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/wasmrt.h b/src/wasmrt.h index 62ac4d0..3800e94 100644 --- a/src/wasmrt.h +++ b/src/wasmrt.h @@ -40,7 +40,7 @@ #endif /** - * A Web Assembly trap, only the ones used by the PICO-8 `.wasm` export. + * A Web Assembly trap. */ typedef enum wasm_rt_trap_t { WASM_RT_TRAP_NONE, @@ -190,14 +190,14 @@ void wasm_rt_memory_check(struct wasm_rt_memory_t const *mem, uint32_t addr, /** * Loads bytes from memory. */ -void wasm_rt_memory_load(struct wasm_rt_memory_t const *mem, void *dst, - uint32_t addr, uint32_t len); +void wasm_rt_memory_load(struct wasm_rt_memory_t const *mem, uint32_t addr, + void *dst, uint32_t len); /** * Loads bytes from memory without bounds checking. */ void wasm_rt_memory_load_unchecked(struct wasm_rt_memory_t const *mem, - void *dst, uint32_t addr, uint32_t len); + uint32_t addr, void *dst, uint32_t len); /** * Loads a 32-bit word from memory. @@ -214,15 +214,14 @@ uint32_t wasm_rt_memory_load32_unchecked(struct wasm_rt_memory_t const *mem, /** * Stores bytes to memory. */ -void wasm_rt_memory_store(struct wasm_rt_memory_t *mem, void const *src, - uint32_t addr, uint32_t len); +void wasm_rt_memory_store(struct wasm_rt_memory_t *mem, uint32_t addr, + void const *src, uint32_t len); /** * Stores bytes to memory without bounds checking. */ -void wasm_rt_memory_store_unchecked(struct wasm_rt_memory_t *mem, - void const *src, uint32_t addr, - uint32_t len); +void wasm_rt_memory_store_unchecked(struct wasm_rt_memory_t *mem, uint32_t addr, + void const *src, uint32_t len); /** * Stores a 32-bit word to memory. |
