pub unsafe extern "C" fn rb_find_encoding(
obj: VALUE,
) -> *mut OnigEncodingTypeSTExpand description
Identical to rb_to_encoding_index, except the return type.
ยง@param[in] obj An ::rb_cEncoding, or its name in ::rb_cString.
@exception rb_eTypeError obj is neither ::rb_cEncoding nor ::rb_cString.
@retval NULL No such encoding.
@return otherwise Encoding of obj.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3