Sha256: 6d85f85337b78307833ecf5dfea070009866c4f7acedbab4f2109f953ff6a07c

Contents?: true

Size: 365 Bytes

Versions: 1431

Compression:

Stored size: 365 Bytes

Contents

module FFI
  class StructByReference[S < Struct[P, untyped], P < AbstractMemory]
    include DataConverter[P, S, untyped]
    attr_reader struct_class: Struct[P, untyped]

    def initialize: (S struct_class) -> void
    def from_native: (P value, untyped ctx) -> S
    def native_type: () -> Type::Builtin
    def to_native: (S? value, untyped ctx) -> P
  end
end

Version data entries

1,431 entries across 1,431 versions & 15 rubygems

Version Path
ffi-1.17.1-x86_64-linux-musl sig/ffi/struct_by_reference.rbs
ffi-1.17.1-x86_64-linux-gnu sig/ffi/struct_by_reference.rbs
ffi-1.17.1-x86-linux-musl sig/ffi/struct_by_reference.rbs
ffi-1.17.1-x86-linux-gnu sig/ffi/struct_by_reference.rbs
ffi-1.17.1-x64-mingw32 sig/ffi/struct_by_reference.rbs
ffi-1.17.1-x64-mingw-ucrt sig/ffi/struct_by_reference.rbs
ffi-1.17.1-x86-mingw32 sig/ffi/struct_by_reference.rbs
cybrid_api_organization_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_bank_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_id_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_organization_ruby-0.123.112 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_bank_ruby-0.123.112 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_id_ruby-0.123.112 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_bank_ruby-0.123.111 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_organization_ruby-0.123.111 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_id_ruby-0.123.111 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_id_ruby-0.123.110 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_bank_ruby-0.123.110 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_organization_ruby-0.123.110 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
cybrid_api_bank_ruby-0.123.109 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs