pub fn create_message_buffer(&self, stdout: i32) {
        unsafe {
            csound_sys::csoundCreateMessageBuffer(self.engine.csound, stdout as c_int);
            let mut msg_buff = self.engine.use_msg_buffer.borrow_mut();
            *msg_buff = true;
        }
    }
/// Creates a buffer for storing messages printed by Csound. Should be called after creating a Csound instance and the buffer can be freed by
/// calling [`Csound::destroy_message_buffer`](struct.Csound.html#method.destroy_message_buffer) or it will freed when the csound instance is dropped.
/// You will generally want to call [`Csound::cleanup`](struct.Csound.html#method.cleanup) to make sure the last messages are flushed to the message buffer before destroying Csound.
/// # Arguments
/// * `stdout` If is non-zero, the messages are also printed to stdout and stderr (depending on the type of the message), in addition to being stored in the buffer.
/// *Note*: Using the message buffer ties up the internal message callback,
/// so [`Csound::message_string_callback`](struct.Csound.html#method.message_string_callback) should not be called after creating the message buffer.
Creates a buffer for storing messages printed by Csound. Should be called after creating a Csound instance and the buffer can be freed by
calling [`Csound::destroy_message_buffer`](struct.Csound.html#method.destroy_message_buffer) or it will freed when the csound instance is dropped.
You will generally want to call [`Csound::cleanup`](struct.Csound.html#method.cleanup) to make sure the last messages are flushed to the message buffer before destroying Csound.
Creates a buffer for storing messages printed by Csound . Should be called after creating a Csound instance and the buffer can be freed by calling [ ` Csound :: destroy_message_buffer ` ] ( struct . Csound . html#method . destroy_message_buffer ) or it will freed when the csound instance is dropped . You will generally want to call [ ` Csound :: cleanup ` ] ( struct . Csound . html#method . cleanup ) to make sure the last messages are flushed to the message buffer before destroying Csound .
pub fn create_message_buffer(&self, stdout: i32) {
        unsafe {
            csound_sys::csoundCreateMessageBuffer(self.engine.csound, stdout as c_int);
            let mut msg_buff = self.engine.use_msg_buffer.borrow_mut();
            *msg_buff = true;
        }
    }
pub fn create_message_buffer ( & self , stdout : i32 ) { unsafe { csound_sys :: csoundCreateMessageBuffer ( self . engine . csound , stdout as c_int ) ; let mut msg_buff = self . engine . use_msg_buffer . borrow_mut ( ) ; * msg_buff = true ; } }
Creates a buffer for storing messages printed by Csound.
Creates a buffer for storing messages printed by Csound .
&self
stdout
i32
&self
stdout
i32