Function clingo_sys::clingo_control_backend [] [src]

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.

Parameters:

  • control the target
  • backend the backend object

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