rb_obj_call_init

Function rb_obj_call_init 

Source
pub unsafe extern "C" fn rb_obj_call_init(
    obj: VALUE,
    argc: c_int,
    argv: *const VALUE,
)
Expand description

Calls initialize method of the passed object with the passed arguments. It also forwards the implicitly passed block to the method.

ยง@param[in] obj Receiver object. @param[in] argc Number of objects of argv. @param[in] argv Passed as-is to obj.initialize. @exception rb_eException Any exceptions happen inside.

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