[−][src]Function clingo_sys::clingo_control_load
pub unsafe extern "C" fn clingo_control_load(
control: *mut clingo_control_t,
file: *const c_char
) -> bool
Extend the logic program with a program in a file.
@param[in] control the target @param[in] file path to the file @return whether the call was successful; might set one of the following error codes:
- ::clingo_error_bad_alloc
- ::clingo_error_runtime if parsing or checking fails