malloc(p1)
Allocate size bytes of memory and return the integer memory address for the allocated memory.
static VALUE rb_fiddle_malloc(VALUE self, VALUE size) { void *ptr; ptr = (void*)ruby_xmalloc(NUM2SIZET(size)); return PTR2NUM(ptr); }