Skip to main content

hurray_item_kind

Function hurray_item_kind 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn hurray_item_kind( handle: *const HurrayItem, out_kind: *mut u8, ) -> HurrayStatus
Expand description

The item’s own kind: HURRAY_ITEM_TENSOR or HURRAY_ITEM_COMPOSITE.

The kind of node 0, which a caller that only wants to know whether a composite arrived can ask for without walking.

§Safety

handle and out_kind MUST be valid, non-null pointers.