Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Fiddle.malloc

Fiddle.malloc(size)

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