Function rb_struct_alloc_noinit

Source
pub unsafe extern "C" fn rb_struct_alloc_noinit(klass: VALUE) -> VALUE
Expand description

Allocates an instance of the given class. This consequential name is of course because rb_struct_alloc not only allocates but also initialises an instance. The API design is broken.

ยง@param[in] klass A subclass of ::rb_cStruct. @return An allocated instance of klass, not initialised.

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