Subject: Re: [ruby-ffi] :double pointer |
From: Wayne Meissner |
Date: 12/7/09 8:52 PM |
To: ruby-ffi@googlegroups.com |
2009/12/8 v01d <phreakuencies@gmail.com>:
Hi, I didn't find a bug tracker, so I'm telling here: it seems that reading a double from a MemoryPointer.new(:double) is not possibe, unless I use get_float64 (which I found after googling). It seems a get_double is missing, isn't it?
put_double and get_double are there as of 0.5.0 at least (I didn't bother checking further back). If you're not using the latest 0.5.x release, you really want to upgrade.