Sha256: ab8d16be0e15294315652824a66c9b9e3374df2552fb27d0e51b623622324d57

Contents?: true

Size: 782 Bytes

Versions: 58

Compression:

Stored size: 782 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 # 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

58 entries across 58 versions & 5 rubygems

Version Path
cybrid_api_bank_ruby-0.123.127 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.127 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.127 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.126 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.126 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.126 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.125 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.125 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.125 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.124 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.124 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.124 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.123 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.123 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.123 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.122 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_organization_ruby-0.123.122 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.122 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_bank_ruby-0.123.121 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs
cybrid_api_id_ruby-0.123.121 vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs