#[no_mangle]
pub unsafe extern "C" fn nstd_alloc_allocate(size: usize) -> NSTDAny
Expand description

Allocates a new memory block.

Parameters

  • const NSTDUSize size - Number of bytes to allocate.

Returns

NSTDAny ptr - The new memory block.