Class: FFI::AbstractMemory

Inherits:
Object
  • Object
show all
Defined in:
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/ffi/abstract_memory.rb', line 40

def size_limit?
  size != LONG_MAX
end