Class: FFI::AbstractMemory

Inherits:
Object
  • Object
show all
Defined in:
lib/plaything/monkey_patches/ffi.rb

Instance Method Summary collapse

Instance Method Details

#countObject



4
5
6
# File 'lib/plaything/monkey_patches/ffi.rb', line 4

def count
  size.div(type_size)
end