rb_method_boundp

Function rb_method_boundp 

Source
pub unsafe extern "C" fn rb_method_boundp(
    klass: VALUE,
    id: ID,
    ex: c_int,
) -> c_int
Expand description

Queries if the klass has this method. This function has only one line of document in the implementation that states “// deprecated”. Don’t know what that means though.

@param[in] klass The class in question. @param[in] id The method name to query. @param[in] ex Undocumented magic value. @retval false Method not found. @retval true There is a method. @pre klass must be a module.

@internal

§@shyouhei has no motivation to describe what should be passed to ex. It seems this function should just be trashed.

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