pub unsafe extern "C" fn rb_struct_alloc(
klass: VALUE,
values: VALUE,
) -> VALUEExpand description
Identical to rb_struct_new, except it takes the field values as a Ruby
array.
ยง@param[in] klass The class of the instance to allocate.
@param[in] values Field values.
@return Allocated instance of klass.
@pre klass must be a subclass of ::rb_cStruct.
@pre values must be an instance of struct ::RArray.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3