Skip to main content

ly_set_erase

Function ly_set_erase 

Source
pub unsafe extern "C" fn ly_set_erase(
    set: *mut ly_set,
    destructor: Option<unsafe extern "C" fn(obj: *mut c_void)>,
)
Expand description

@brief Alternative to the ::ly_set_free() for static ::ly_set objects - in contrast to ::ly_set_free() it does not free the provided ::ly_set object.

@param[in] set The set to be erased. @param[in] destructor Optional function to free the objects in the set.