RTYPEDDATA_TYPE

Function RTYPEDDATA_TYPE 

Source
pub unsafe fn RTYPEDDATA_TYPE(obj: VALUE) -> *const rb_data_type_t
Expand description

Gets the data type information from an RTypedData object.

@param[in] obj An RTypedData object. @return Pointer to the rb_data_type_t structure for this object.

ยงSafety

This function is unsafe because it dereferences a raw pointer to get access to the underlying data type. The caller must ensure the object is a valid RTypedData.