Subject:
Re: [ruby-ffi] MemoryPointers for ints?
From:
Chuck Remes
Date:
5/6/10 5:21 PM
To:
ruby-ffi@googlegroups.com


On May 6, 2010, at 12:05 PM, Chuck Remes wrote:

> I'm just getting started with FFI, so forgive the newbie questions.
> 

Wow, it took 6 hours for these messages to show up. I have figured it out in the meantime.

ptr = FFI::MemoryPointer.new :int
ptr.write_int 6

cr