Function clingo_sys::clingo_model_context [] [src]

pub unsafe extern "C" fn clingo_model_context(
    model: *mut clingo_model_t,
    control: *mut *mut clingo_solve_control_t
) -> bool

Get the associated solve control object of a model.

This object allows for adding clauses during model enumeration.

Parameters:

  • model - the target
  • control - the resulting solve control object

Returns whether the call was successful