Crate malloc_rust

Source
Expand description

Malloc implementation using Rust allocator

This crate MUST not have semver breaking changes

Modules§

align

Constants§

DEFAULT_ALIGNMENT
Default alignment.

Functions§

generic_rust_malloc
Generic malloc implementation which requires size to be converted into usize without error
generic_rust_realloc
Generic realloc implementation which requires size to be converted into usize without error
generic_try_rust_malloc
Generic malloc implementation which allows size to be optionally convertable.
generic_try_rust_realloc
Generic realloc implementation which allows size to be optionally convertable.
rust_calloc
Baseline calloc implementation with Rust allocator
rust_free
Baseline free implementation with Rust allocator
rust_malloc
Baseline malloc implementation with Rust allocator
rust_realloc
Baseline realloc implementation with Rust allocator
rust_size
Returns size of allocated memory in pointer