rb_get_alloc_func

Function rb_get_alloc_func 

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

Queries the allocator function of a class.

@param[in] klass The class in question. @pre klass must be an instance of Class. @retval 0 No allocator function is registered. @retval otherwise The allocator function.

@internal

ยงWho cares? @shyouhei finds no practical usage of the return value. Maybe we need KonMari.

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