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

The documentation for Struct is incomplete #1072

Open
13 tasks
ParadoxV5 opened this issue Dec 31, 2023 · 0 comments
Open
13 tasks

The documentation for Struct is incomplete #1072

ParadoxV5 opened this issue Dec 31, 2023 · 0 comments

Comments

@ParadoxV5
Copy link
Contributor

ParadoxV5 commented Dec 31, 2023

Struct is a significant user-facing class, but its documentation misses a dozen methods.

Comparing the 1.16.3 docs with public_methods/public_singleton_methods, these are missing:

When working on #1042 for Struct, I used the Struct.c in addition to the documentation.

ParadoxV5 added a commit to ParadoxV5/ruby-ffi that referenced this issue Dec 31, 2023
* add `Struct#layout`; see ffi#1072 regarding incomplete docs
* (temporarily?) un-type `Struct.ptr` `flags` arg: ffi#1073
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

No branches or pull requests

1 participant