Function ruby_brace_glob

Source
pub unsafe extern "C" fn ruby_brace_glob(
    pattern: *const c_char,
    flags: c_int,
    func: ruby_glob_func,
    arg: VALUE,
) -> c_int
Expand description

Identical to ruby_glob(), @shyouhei currently suspects. Historically you had to call this function instead of ruby_glob() if the pattern included “{x,y,…}” syntax. However since commit 0f63d961169989a7f6dcf7c0487fe29da, ruby_glob() also supports that syntax. It seems as of writing these two functions provide basically the same functionality in a different implementation. Is this analysis right? Correct me! :FIXME:

§@param[in] pattern A glob pattern. @param[in] flags No, you are not allowed to use this. Just pass 0. @param[in] func A callback function. @param[in] arg Extra argument passed to func. @return Return value of func.

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