Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properly use passed begin/end function ptrs to get respective iterators #104

Merged
merged 1 commit into from
Nov 20, 2017

Conversation

hsitter
Copy link
Contributor

@hsitter hsitter commented Nov 7, 2017

previously we'd ignore the passed ptrs and always call begin()/end()
making the ptrs entirely useless.
the new calls properly go to the passed functions on the object we want to
iter on.

adjusted iter test to make sure this continues working

Fixes #103

@jasonroelofs
Copy link
Collaborator

Awesome. This looks good! Please undo the change to the COPYING file. I've been meaning to put together a proper contributors list / document and will get that in place.

previously we'd ignore the passed ptrs and always call `begin()`/`end()`
making the ptrs entirely useless.
the new calls properly go to the passed functions on the object we want to
iter on.

adjusted iter test to make sure this continues working

Fixes ruby-rice#103
@jasonroelofs
Copy link
Collaborator

I've released 2.1.2 with this change. Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants