Module alloc

Module alloc 

Source

Structs§

AlignedType
A type whose alignment is greater equal that of any C type. Allocations with this alignment are valid for all C types. Remake of max_align_t from stddef.h. 16 bytes is the greatest alignment of any architecture Rust currently supports.

Constants§

MIN_ALIGN
Minimal alignment which is valid for all C types.

Functions§

rust_0_6_calloc
Allocate size_bytes many zeroed bytes and return a pointer.
rust_0_6_free
Free allocated bytes at ptr_bytes.
rust_0_6_malloc
Allocate size_bytes many bytes and return a pointer.