Function rb_obj_encoding

Source
pub unsafe extern "C" fn rb_obj_encoding(obj: VALUE) -> VALUE
Expand description

Identical to rb_enc_get_index, except the return type.

§@param[in] obj Object in question. @exception rb_eTypeError obj is incapable of having an encoding. @return obj’s encoding.

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