Function rb_string_value

Source
pub unsafe extern "C" fn rb_string_value(ptr: *mut VALUE) -> VALUE
Expand description

Identical to rb_str_to_str, except it fills the passed pointer with the converted object.

ยง@param[in,out] ptr Pointer to a variable of target object. @exception rb_eTypeError No implicit conversion to String. @return Return value of obj.to_str. @post *ptr is the return value.

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