diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-29 21:33:59 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-30 07:06:42 -0700 |
commit | 3073404e741df19ae16248126640777ed36110e8 (patch) | |
tree | 3e47a5336c27487329f43205746b17b3f03e5276 /ext/-test-/enumerator_kw/depend | |
parent | 5ddc2ba13ed6964a0383894e3728dc1bc708c404 (diff) |
Add rb_enumeratorize_with_size_kw and related macros
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2509
Diffstat (limited to 'ext/-test-/enumerator_kw/depend')
-rw-r--r-- | ext/-test-/enumerator_kw/depend | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/-test-/enumerator_kw/depend b/ext/-test-/enumerator_kw/depend new file mode 100644 index 0000000000..b7489eaf73 --- /dev/null +++ b/ext/-test-/enumerator_kw/depend @@ -0,0 +1,14 @@ +# AUTOGENERATED DEPENDENCIES START +enumerator_kw.o: $(RUBY_EXTCONF_H) +enumerator_kw.o: $(arch_hdrdir)/ruby/config.h +enumerator_kw.o: $(hdrdir)/ruby.h +enumerator_kw.o: $(hdrdir)/ruby/assert.h +enumerator_kw.o: $(hdrdir)/ruby/backward.h +enumerator_kw.o: $(hdrdir)/ruby/defines.h +enumerator_kw.o: $(hdrdir)/ruby/intern.h +enumerator_kw.o: $(hdrdir)/ruby/missing.h +enumerator_kw.o: $(hdrdir)/ruby/ruby.h +enumerator_kw.o: $(hdrdir)/ruby/st.h +enumerator_kw.o: $(hdrdir)/ruby/subst.h +enumerator_kw.o: enumerator_kw.c +# AUTOGENERATED DEPENDENCIES END |