SCIPmessagehdlrCreate

Function SCIPmessagehdlrCreate 

Source
pub unsafe extern "C" fn SCIPmessagehdlrCreate(
    messagehdlr: *mut *mut SCIP_MESSAGEHDLR,
    bufferedoutput: c_uint,
    filename: *const c_char,
    quiet: c_uint,
    messagewarning: Option<unsafe extern "C" fn(messagehdlr: *mut SCIP_MESSAGEHDLR, file: *mut FILE, msg: *const c_char)>,
    messagedialog: Option<unsafe extern "C" fn(messagehdlr: *mut SCIP_MESSAGEHDLR, file: *mut FILE, msg: *const c_char)>,
    messageinfo: Option<unsafe extern "C" fn(messagehdlr: *mut SCIP_MESSAGEHDLR, file: *mut FILE, msg: *const c_char)>,
    messagehdlrfree: Option<unsafe extern "C" fn(messagehdlr: *mut SCIP_MESSAGEHDLR) -> SCIP_RETCODE>,
    messagehdlrdata: *mut SCIP_MESSAGEHDLRDATA,
) -> SCIP_RETCODE
Expand description

Creates and captures a message handler which deals with warning, information, and dialog (interactive shell) methods.

Use SCIPsetMessagehdlr() to make SCIP aware of the created message handler. @note The message handler does not handle error messages. For that see SCIPmessageSetErrorPrinting() @note Creating a message handler automatically captures it.