Method: Fiddle.malloc

Defined in:
fiddle.c,
lib/fiddle/ffi_backend.rb

.malloc(size) ⇒ Object

Allocate size bytes of memory and return the integer memory address for the allocated memory.



22
23
24
# File 'fiddle.c', line 22

def self.malloc(size)
  Fiddle::Pointer.malloc(size)
end