Lines Matching defs:addr
90 * call-seq: DL.realloc(addr, size)
92 * Change the size of the memory allocated at the memory location +addr+ to
97 rb_dl_realloc(VALUE self, VALUE addr, VALUE size)
99 void *ptr = NUM2PTR(addr);
107 * call-seq: DL.free(addr)
109 * Free the memory at address +addr+
112 rb_dl_free(VALUE self, VALUE addr)
114 void *ptr = NUM2PTR(addr);
122 * call-seq: DL.dlunwrap(addr)
124 * Returns the hexadecimal representation of a memory pointer address +addr+
138 rb_dl_ptr2value(VALUE self, VALUE addr)
141 return (VALUE)NUM2PTR(addr);