Function clingo_sys::clingo_control_program_builder [] [src]

pub unsafe extern "C" fn clingo_control_program_builder(
    control: *mut clingo_control_t,
    builder: *mut *mut clingo_program_builder_t
) -> bool

Get an object to add non-ground directives to the program.

See the @ref ProgramBuilder module for more information.

Parameters:

  • control - the target
  • builder - the program builder object

Returns whether the call was successful