Sha256: 38b3e892dfd35b7cc6bc8c7868f92dd825100d5c228d0c69675a67ca8fb5a899

Contents?: true

Size: 935 Bytes

Versions: 1479

Compression:

Stored size: 935 Bytes

Contents

module FFI
  class Type
    class Array = ArrayType
    class Function = FunctionType
    class Struct = StructByValue

    include AbstractMemory::_Size
    def initialize: (Integer | Type value) -> self
    def alignment: () -> Integer
    def inspect: ...

    class Builtin < Type
      def inspect: ...
    end

    class Mapped[X < _DataConverter[N, R, C], N, R, C]
      include _DataConverter[N, R, C]

      def initialize: (X converter) -> self
      def converter: () -> X
    end
  end

  class ArrayType
    def initialize: (Type component_type, Integer length) -> self
    def element_type: -> Type
    def length: -> Integer
  end

  class FunctionType < Type
    def initialize:
      (
        ffi_type return_type, Array[ffi_type] param_types,
        ?blocking: boolish, ?convention: Library::convention, ?enums: Enums
      ) -> self
    def param_types: () -> Array[Type]
    def return_type: () -> Type
  end
end

Version data entries

1,479 entries across 1,477 versions & 17 rubygems

Version Path
cybrid_api_id_ruby-0.123.153 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_organization_ruby-0.123.153 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_bank_ruby-0.123.152 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_id_ruby-0.123.152 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_organization_ruby-0.123.152 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_bank_ruby-0.123.151 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_id_ruby-0.123.151 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_organization_ruby-0.123.151 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_bank_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_id_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_organization_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_bank_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_id_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_organization_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_bank_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_organization_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
cybrid_api_id_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
ory-client-1.16.2 vendor/bundle/ruby/3.1.0/gems/ffi-1.17.1/sig/ffi/type.rbs
talon_one-7.0.0 .github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/type.rbs
cybrid_api_bank_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs