[Vm-dev] does anyone actually tested FFI under 64bits?

Esteban Lorenzano estebanlm at gmail.com
Mon Jan 9 15:23:27 UTC 2017


also this: 

unsignedLongAt: byteOffset put: value
	"Store a 32bit signed integer starting at the given byte offset"
	^self integerAt: byteOffset put: value size: 4 signed: false

I guess should be rewritten as: 

unsignedLongAt: byteOffset put: value
	"Store a 32bit/64bits signed integer starting at the given byte offset"
	^self integerAt: byteOffset put: value size: ExternalType long byteSize signed: false

(once sizes are fixed)

Esteban

> On 9 Jan 2017, at 16:20, Esteban Lorenzano <estebanlm at gmail.com> wrote:
> 
> Hi, 
> 
> Iā€™m asking because, for example: 
> 
> ExternalType long byteSize ā€œ4ā€.
> 
> and of course, nothing works using structures :)
> 
> cheers, 
> Esteban



More information about the Vm-dev mailing list