Function rb_define_alloc_func
Source pub unsafe extern "C" fn rb_define_alloc_func(
klass: VALUE,
func: rb_alloc_func_t,
)
Expand description
Sets the allocator function of a class.
ยง@param[out] klass The class to modify.
@param[in] func An allocator function for the class.
@pre klass must be an instance of Class.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3