Skip to main content

lumen_get_by_id

Function lumen_get_by_id 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lumen_get_by_id( id: *const c_char, out: *mut LumenNode, ) -> LumenStatus
Expand description

Fast id lookup. Writes the matching node to *out, or 0 when no element carries id. Thread-safe.