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

Replaced :get_uint8 with :read_uint8 in Pointer#read_array_of_type documentation #655

Merged
merged 1 commit into from
Jan 6, 2019

Conversation

4ndv
Copy link
Contributor

@4ndv 4ndv commented Nov 5, 2018

The documentation of Pointer#read_array_of_type states that I should pass :get_uint8 to it, but actually it should be :read_uint8, because :get_uint8 would fail with ArgumentError: wrong number of arguments (given 0, expected 1)

This PR is actually fixes #266 which is closed, but not fixed (from 2013!)

@larskanis larskanis merged commit 09ddbbd into ffi:master Jan 6, 2019
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.

Internal error in read_array_of_type ?
2 participants