rb_write_error2

Function rb_write_error2 

Source
pub unsafe extern "C" fn rb_write_error2(
    str_: *const c_char,
    len: c_long,
)
Expand description

Identical to rb_write_error, except it additionally takes the message’s length. Necessary when you want to handle wide characters.

§@param[in] str Error message to display. @param[in] len Length of str, in bytes. @post str is written to somewhere.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3