SCIPincludeEventhdlr

Function SCIPincludeEventhdlr 

Source
pub unsafe extern "C" fn SCIPincludeEventhdlr(
    scip: *mut SCIP,
    name: *const c_char,
    desc: *const c_char,
    eventcopy: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR) -> SCIP_RETCODE>,
    eventfree: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR) -> SCIP_RETCODE>,
    eventinit: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR) -> SCIP_RETCODE>,
    eventexit: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR) -> SCIP_RETCODE>,
    eventinitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR) -> SCIP_RETCODE>,
    eventexitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR) -> SCIP_RETCODE>,
    eventdelete: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR, eventdata: *mut *mut SCIP_EVENTDATA) -> SCIP_RETCODE>,
    eventexec: Option<unsafe extern "C" fn(scip: *mut SCIP, eventhdlr: *mut SCIP_EVENTHDLR, event: *mut SCIP_EVENT, eventdata: *mut SCIP_EVENTDATA) -> SCIP_RETCODE>,
    eventhdlrdata: *mut SCIP_EVENTHDLRDATA,
) -> SCIP_RETCODE
Expand description

creates an event handler and includes it in SCIP

@note method has all event handler callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeEventhdlrBasic() and setter functions if you seek for a method which is less likely to change in future releases