module FFI
module FFI::DataConverter
module FFI::IO
module FFI::Library
module FFI::Platform
class FFI::AbstractMemory
class FFI::AutoPointer
class FFI::AutoPointer::CallableReleaser
class FFI::AutoPointer::DefaultReleaser
class FFI::AutoPointer::Releaser
class FFI::Bitmask
class FFI::ConstGenerator
class FFI::ConstGenerator::Constant
class FFI::Enum
class FFI::Enums
class FFI::Generator
class FFI::Generator::Task
class FFI::ManagedStruct
class FFI::NotFoundError
class FFI::PlatformError
class FFI::Pointer
class FFI::StrPtrConverter
class FFI::Struct
class FFI::Struct::ManagedStructConverter
class FFI::StructByReference
class FFI::StructGenerator
class FFI::StructGenerator::Field
class FFI::StructLayout
class FFI::StructLayout::Enum
class FFI::StructLayout::InnerStruct
class FFI::StructLayout::Mapped
class FFI::StructLayoutBuilder
class FFI::TypesGenerator
class FFI::Union
class FFI::VariadicInvoker
ffi
1.15.5
# field
def field(name, type=nil) field = Field.new(name, type) @fields << field return field end