Function lv2_raw::atomutils::lv2_atom_sequence_append_event [] [src]

pub unsafe fn lv2_atom_sequence_append_event(
    seq: *mut LV2AtomSequence,
    capacity: u32,
    event: *const LV2AtomEvent
) -> *const LV2AtomEvent

Append an event at the end of sequence.

@param seq Sequence to append to. @param capacity Total capacity of the sequence atom (e.g. as set by the host for sequence output ports). @param event Event to write.

@return A pointer to the newly written event in seq, or NULL on failure (insufficient space).