Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(c-api)
wasm_$name_vec_delete
checks the vec is initialized.
In case of a boxed vector, `wasm_$name_vec_delete` now checks that the vec is correctly initialized (by checking the first item only) because transmuting `Vec<*mut T>` to `Vec<Box<T>>`, otherwise it will crash.
- Loading branch information