pub unsafe extern "C" fn rb_define_module(
name: *const c_char,
) -> VALUEExpand description
Defines a top-level module.
@param[in] name Name of the module.
@exception rb_eTypeError The constant name name is already taken but the
constant is not a module.
@return The created module.
@post Top-level constant named name refers the returned module.
@note The compaction GC does not move classes returned by this
function.
@internal
§There are modules without names, but you can’t pass NULL here. You have to use other ways to create one.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3