Subject:
[ruby-ffi] Re: What is the best way to convert a Fixnum to a :pointer?
From:
Brett Blackham
Date:
9/15/09 8:14 PM
To:
ruby-ffi


Ah ha! Thanks.

pointer = FFI::Pointer.new(address) # Works
pointer = FFI::MemoryPointer.new(address) # Fails.

Thanks again!

Now I am curious what is the difference between a Pointer and
MemoryPointer. It was my understanding that a pointer is a pointer.