Feb. 12, 2016
5:06 p.m.
On 12 Feb 2016, at 17:50, Aliaksei Syrel <alex.syrel@gmail.com> wrote:
On Fri, Feb 12, 2016 at 5:45 PM, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote: Float>>#pointer ^ (ByteArray new: FFIExternalType pointerSize) floatAt: 1 put: self; yourself
Yes it does the trick :) Thanks!
yes and no (I made a mistake): that works because incidentally pointers and floats have same size (4 bytes)⦠but can happen that it is not (doubles have 8 bytes)⦠but is ok for now :) I will fix it correctly next week. Esteban