rb_alias_variable

Function rb_alias_variable 

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

Aliases a global variable. Did you know that you can alias a global variable? It is like aliasing methods:

alias $dst $src

This C function does the same thing.

@param[in] dst Destination name. @param[in] src Source name. @post A global variable named dst is defined to be an alias of a global variable named src.

@internal

ยงAbove description is in fact inaccurate. This API interfaces with Ractors.

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