[][src]Function clingo_sys::clingo_backend_external

pub unsafe extern "C" fn clingo_backend_external(
    backend: *mut clingo_backend_t,
    atom: clingo_atom_t,
    type_: clingo_external_type_t
) -> bool

Add an external statement.

@param[in] backend the target backend @param[in] atom the external atom @param[in] type the type of the external statement @return whether the call was successful; might set one of the following error codes:

  • ::clingo_error_bad_alloc