pub unsafe extern "C" fn clingo_register_script(
    name: *const c_char,
    script: *const clingo_script_t,
    data: *mut c_void
) -> bool
Expand description

! Add a custom scripting language to clingo. ! ! @param[in] name the name of the scripting language ! @param[in] script struct with functions implementing the language ! @param[in] data user data to pass to callbacks in the script ! @return whether the call was successful