Class: FFI::AbstractMemory

Inherits:
Object show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/lib/ffi/abstract_memory.rb

Instance Method Summary collapse

Instance Method Details

#size_limit?Boolean

Return true if self has a size limit.

Returns:

  • (Boolean)


40
41
42
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/lib/ffi/abstract_memory.rb', line 40

def size_limit?
  size != LONG_MAX
end