Sha256: e7bc39b760864ce399a0ac9f888ec85ad22f98c6b84037c51140348a96485306

Contents?: true

Size: 888 Bytes

Versions: 1136

Compression:

Stored size: 888 Bytes

Contents

module FFI
  class AutoPointer < Pointer
    class Releaser
      attr_accessor autorelease: boolish
      interface _Proc[P < Pointer]
        def call: (P) -> void
      end
      def initialize: [P < Pointer] (P ptr, _Proc[P] proc) -> void

      def call: (*untyped) -> void
      def free: () -> nil
      def release: (Pointer ptr) -> void
    end

    def initialize: (Pointer pointer, Method | ^(self) -> void | Releaser::_Proc[self] callable) -> self
                # | (Pointer pointer) { (self) -> void } -> self # https://github.com/ffi/ffi/issues/1071
                  | (Pointer pointer) -> self # where class < `def self.release: (instance pointer) -> void`

    extend DataConverter[Pointer, instance, nil]
    def self.from_native: ...
    def self.native_type: () -> Type::Builtin

    def autorelease?: ...
    def autorelease=: ...
    def free: () -> nil
  end
end

Version data entries

1,136 entries across 1,136 versions & 14 rubygems

Version Path
cybrid_api_bank_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
ory-client-1.15.12 vendor/bundle/ruby/3.1.0/gems/ffi-1.17.0/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.2 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs