Fiddle::Pointer is a class to handle C pointers
ptr[index] â an_integerptr[start, length] â a_string Instance Public methods
ptr.eql?(other) => true or false Instance Public methods Returns true if
free => Fiddle::Function Instance Public methods Get the free function for
ptr other => -1, 0, 1, or nil Instance Public methods Returns -1 if less
to_value Instance Public methods Cast this pointer to a ruby object.
null? Instance Public methods Returns true if this is a null pointer
ptr[index] = int â intptr[start, length] = string or cptr or addr â string or dl_cptr or addr
Fiddle::Pointer.malloc(size, freefunc = nil) => fiddle pointer instance Class Public methods
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