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
ptr other => -1, 0, 1, or nil Instance Public methods Returns -1 if less
free => Fiddle::Function Instance Public methods Get the free function for
null? Instance Public methods Returns true if this is a null pointer
to_value Instance Public methods Cast this pointer to a ruby object.
Fiddle::Pointer[val] => cptrto_ptr(val) => cptr Class Public methods Get
Fiddle::Pointer.malloc(size, freefunc = nil) => fiddle pointer instance Class Public methods
ptr[index] = int â intptr[start, length] = string or cptr or addr â string or dl_cptr or addr
to_i Instance Public methods Returns the integer memory location of this pointer
Page 1 of 3