Skip to main content

lumen_signal_set_array

Function lumen_signal_set_array 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lumen_signal_set_array( name: *const c_char, value: *const LumenValue, ) -> LumenStatus
Expand description

Replace the contents of an array signal. value must be a LUMEN_ARRAY of LUMEN_MAP entries - each map becomes one row (string->string after stringification) consumed by <for> markup. Pointer is borrowed for the duration of the call; Lumen copies immediately. Embedder may free buffers as soon as this returns.