Function tskit::bindings::tsk_tree_clear
source · pub unsafe extern "C" fn tsk_tree_clear(
self_: *mut tsk_tree_t
) -> c_int
Expand description
@brief Set the tree into the null state.
@rst
Transform this tree into the :ref:null state<sec_c_api_trees_null>
.
@endrst
@param self A pointer to an initialised tsk_tree_t object. @return Return 0 on success or a negative value on failure.