Function clingo_sys::clingo_backend_project [] [src]

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.

Parameters:

  • backend - the target backend
  • atoms - the atoms to project on
  • size - the number of atoms

Returns whether the call was successful; might set one of the following error codes:

  • ::clingo_error_bad_alloc