Skip to main content

nf_list_new

Function nf_list_new 

Source
#[unsafe(no_mangle)]
pub(crate) unsafe extern "C" fn nf_list_new( ty: &'static TypeDesc, items: *const Slot, len: usize, ) -> Slot
Expand description

A list of type ty holding len items from items, which it takes ownership of.

ยงSafety

ty is a list type and items points to len slots of its element type.