Lines Matching defs:addr
57 * call-seq: Fiddle.realloc(addr, size)
59 * Change the size of the memory allocated at the memory location +addr+ to
64 rb_fiddle_realloc(VALUE self, VALUE addr, VALUE size)
66 void *ptr = NUM2PTR(addr);
74 * call-seq: Fiddle.free(addr)
76 * Free the memory at address +addr+
79 rb_fiddle_free(VALUE self, VALUE addr)
81 void *ptr = NUM2PTR(addr);
89 * call-seq: Fiddle.dlunwrap(addr)
91 * Returns the hexadecimal representation of a memory pointer address +addr+
105 rb_fiddle_ptr2value(VALUE self, VALUE addr)
108 return (VALUE)NUM2PTR(addr);