Fiddle::Pointer is a class to handle C pointers
to_value Instance Public methods Cast this pointer to a ruby object.
ptr[index] â an_integerptr[start, length] â a_string Instance Public methods
ptr other => -1, 0, 1, or nil Instance Public methods Returns -1 if less
null? Instance Public methods Returns true if this is a null pointer
free => Fiddle::Function Instance Public methods Get the free function for
ptr.eql?(other) => true or false Instance Public methods Returns true if
ptr[index] = int â intptr[start, length] = string or cptr or addr â string or dl_cptr or addr
Fiddle::Pointer[val] => cptrto_ptr(val) => cptr Class Public methods Get
to_i Instance Public methods Returns the integer memory location of this pointer
ptr.to_s => stringptr.to_s(len) => string Instance Public methods
Page 1 of 3