Function graphannis_capi::update::annis_graphupdate_add_node_label[][src]

#[no_mangle]
pub extern "C" fn annis_graphupdate_add_node_label(
    ptr: *mut GraphUpdate,
    node_name: *const c_char,
    anno_ns: *const c_char,
    anno_name: *const c_char,
    anno_value: *const c_char,
    err: *mut *mut ErrorList
)
Expand description

Add “add node label” action to the graph update object.

  • ptr - The graph update object.
  • node_name - Name of the node the label is attached to.
  • annos_ns - Namespace of the new annotation.
  • annos_name - Name of the new annotation.
  • annos_value - Value of the new annotation.
  • err - Pointer to a list of errors. If any error occurred, this list will be non-empty.