[−][src]Function clingo_sys::clingo_main
pub unsafe extern "C" fn clingo_main(
application: *mut clingo_application_t,
arguments: *const *const c_char,
size: usize,
data: *mut c_void
) -> c_int
Run clingo with a customized main function (similar to python and lua embedding).
@param[in] application struct with callbacks to override default clingo functionality @param[in] arguments command line arguments @param[in] size number of arguments @param[in] data user data to pass to callbacks in application @return exit code to return from main function