NT_AllocateBooleanArray

Function NT_AllocateBooleanArray 

Source
pub unsafe extern "C" fn NT_AllocateBooleanArray(
    size: usize,
) -> *mut bool
Expand description

Allocates an array of booleans. Note that the size is the number of elements, and not the specific number of bytes to allocate. That is calculated internally.

§Parameters

  • size: The number of elements the array will contain.

§Returns

The allocated boolean array.

After use, the array should be freed using the NT_FreeBooleanArray() function.