#[no_mangle]
pub extern "C" fn annis_cs_list_components_by_type(
ptr: *mut CorpusStorage,
corpus_name: *const c_char,
ctype: AnnotationComponentType,
err: *mut *mut ErrorList
) -> *mut Vec<AnnotationComponent>
Expand description
Returns a list of all components of a corpus given by corpus_name
and the component type.
ptr
- The corpus storage object.ctype
-Filter by the component type.err
- Pointer to a list of errors. If any error occured, this list will be non-empty.