rb_string_value_ptr

Function rb_string_value_ptr 

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

Identical to rb_str_to_str, except it returns the converted string’s backend memory region.

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

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