Skip to main content

rb_require

Function rb_require 

Source
pub unsafe extern "C" fn rb_require(feature: *const c_char) -> VALUE
Expand description

Identical to rb_require_string, except it takes C’s string instead of Ruby’s.

§@param[in] feature Name of a feature, e.g. "json". @exception rb_eLoadError No such feature. @exception rb_eRuntimeError $" is frozen; unable to push. @retval RUBY_Qtrue The feature is loaded for the first time. @retval RUBY_Qfalse The feature has already been loaded. @post $" is updated.

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