rb_alias

Function rb_alias 

Source
pub unsafe extern "C" fn rb_alias(klass: VALUE, dst: ID, src: ID)
Expand description

Resembles alias.

ยง@param[out] klass Where to define an alias. @param[in] dst New name. @param[in] src Existing name. @exception rb_eTypeError klass is not a class. @exception rb_eFrozenError klass is frozen. @exception rb_eNameError No such method named src. @post klass has a method named dst, which is the identical to its method named src.

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