Skip to content
  • Jeremy Evans's avatar
    3073404e
    Add rb_enumeratorize_with_size_kw and related macros · 3073404e
    Jeremy Evans authored
    Currently, there is not a way to create a sized enumerator in C
    with a different set of arguments than provided by Ruby, and
    correctly handle keyword arguments.  This function allows that.
    
    The need for this is fairly uncommon, but it occurs at least in
    Enumerator.produce, which takes arugments from Ruby but calls
    rb_enumeratorize_with_size with a different set of arguments.
    3073404e
    Add rb_enumeratorize_with_size_kw and related macros
    Jeremy Evans authored
    Currently, there is not a way to create a sized enumerator in C
    with a different set of arguments than provided by Ruby, and
    correctly handle keyword arguments.  This function allows that.
    
    The need for this is fairly uncommon, but it occurs at least in
    Enumerator.produce, which takes arugments from Ruby but calls
    rb_enumeratorize_with_size with a different set of arguments.
Loading