dlunwrap(p1)
public
Returns the hexadecimal representation of a memory pointer address
addr
Example:
lib = Fiddle.dlopen('/lib64/libc-2.15.so')
=>
lib['strcpy'].to_s(16)
=> "7f59de6dd240"
Fiddle.dlunwrap(Fiddle.dlwrap(lib['strcpy'].to_s(16)))
=> "7f59de6dd240"
VALUE
rb_fiddle_ptr2value(VALUE self, VALUE addr)
{
return (VALUE)NUM2PTR(addr);
}