We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Struct
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:
public_methods
public_singleton_methods
.new
in
out
inout
.alloc_in
.alloc_inout
.alloc_out
.new_in
.new_inout
.new_out
#[]
#[]=
#layout
#null?
#order
#pointer
def to_ptr = pointer
When working on #1042 for Struct, I used the Struct.c in addition to the documentation.
Struct.c
The text was updated successfully, but these errors were encountered:
Update RBS for Struct
9c0615b
* add `Struct#layout`; see ffi#1072 regarding incomplete docs * (temporarily?) un-type `Struct.ptr` `flags` arg: ffi#1073
No branches or pull requests
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:.new
(see There isn’t actually a distinction betweenin
,out
, andinout
. Is this intended for backward-compatibility or future-proofing? #1073).alloc_in
.alloc_inout
.alloc_out
.new_in
.new_inout
.new_out
#[]
(👀)#[]=
(👀)#layout
#null?
#order
#pointer
(def to_ptr = pointer
)When working on #1042 for Struct, I used the
Struct.c
in addition to the documentation.The text was updated successfully, but these errors were encountered: