rb_define_dummy_encoding

Function rb_define_dummy_encoding 

Source
pub unsafe extern "C" fn rb_define_dummy_encoding(
    name: *const c_char,
) -> c_int
Expand description

Creates a new “dummy” encoding. Roughly speaking, an encoding is dummy when it is stateful. Notable example of dummy encoding are those defined in ISO/IEC 2022

§@param[in] name Name of the creating encoding. @exception rb_eArgError Duplicated or malformed name. @return New dummy encoding’s index. @post Encoding named name is created, whose index is the return value.

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