Struct
最終更新:
tmtbnc
-
view
FFI::Struct
- FFI::Struct
- FFI::Union
- FFI::InlineArray
- FFI::StructLayoutBuilder
- FFI::Type
- FFI::StructLayout
- FFI::StructByValue
- FFI::StructLayout::Field
- FFI::StructLayout::Function
- FFI::StructLayout::StructByValue
- FFI::StructLayout::Array
Methods
initialize(pointer=nil, *layout) | |
pointer | |
pointer= | |
layout | |
layout= | |
[] | |
[]= | |
size | |
align | |
alignment | |
members | |
values | |
offsets | |
Struct.size | |
Struct.alignment | |
Struct.align | |
Struct.members | |
Struct.offsets | |
Struct.offset_of(name) | |
Struct.in | |
Struct.out | |
Struct.by_value | |
Struct.layout(*spec) | 1.9 はハッシュ対応 |
FFI::StructLayout
Methods
initialize | |
[] | |
fields | |
members | |
to_a |
FFI::StructLayoutBuilder
Methods
initialize | |
build | |
alignment | |
alignment= | |
size | |
size= | |
union= | |
union? | |
add_field | |
add_array | |
add_struct |
FFI::Struct::InlineArray
Methods
initialize | |
[] | |
[]= | |
each | |
size | |
to_a | |
to_s | |
to_str | |
to_ptr |