pub unsafe extern "C" fn rb_const_set(
space: VALUE,
name: ID,
val: VALUE,
)Expand description
Names a constant.
@param[out] space Target namespace.
@param[in] name Target name to query.
@param[in] val Value to define.
@exception rb_eTypeError space is not a module.
@post name is a constant under space, whose value is val.
@note You can reassign.
@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