[][src]Function clingo_sys::clingo_control_backend

pub unsafe extern "C" fn clingo_control_backend(
    control: *mut clingo_control_t,
    backend: *mut *mut clingo_backend_t
) -> bool

Get an object to add ground directives to the program.

See the @ref ProgramBuilder module for more information.

@param[in] control the target @param[out] backend the backend object @return whether the call was successful; might set one of the following error codes:

  • ::clingo_error_bad_alloc