[][src]Function clingo_sys::clingo_backend_project

pub unsafe extern "C" fn clingo_backend_project(
    backend: *mut clingo_backend_t,
    atoms: *const clingo_atom_t,
    size: usize
) -> bool

Add a projection directive.

@param[in] backend the target backend @param[in] atoms the atoms to project on @param[in] size the number of atoms @return whether the call was successful; might set one of the following error codes:

  • ::clingo_error_bad_alloc