Sha256: 38b3e892dfd35b7cc6bc8c7868f92dd825100d5c228d0c69675a67ca8fb5a899

Contents?: true

Size: 935 Bytes

Versions: 1478

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,478 entries across 1,476 versions & 17 rubygems

Version Path
cybrid_api_id_ruby-0.123.179 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.179 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.177 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.177 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.176 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.176 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.175 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.175 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.174 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.174 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.173 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.173 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs
ory-client-1.16.3 vendor/bundle/ruby/3.1.0/gems/ffi-1.17.1/sig/ffi/type.rbs
cybrid_api_organization_ruby-0.123.172 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.172 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.171 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.171 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.170 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.170 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.163 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/type.rbs