[squeak-dev] FFI: FFI-Kernel-mt.178.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 27 12:29:06 UTC 2021


Marcel Taeumel uploaded a new version of FFI-Kernel to project FFI:
http://source.squeak.org/FFI/FFI-Kernel-mt.178.mcz

==================== Summary ====================

Name: FFI-Kernel-mt.178
Author: mt
Time: 27 May 2021, 2:29:05.913609 pm
UUID: ddf66c8a-450b-1641-a21a-987c508b1281
Ancestors: FFI-Kernel-mt.177

I missed the #allocateExternal case. Sorry, I forgot to run the tests before committing. My bad. :-(

=============== Diff against FFI-Kernel-mt.177 ===============

Item was changed:
  ----- Method: ExternalArrayType>>allocateExternal (in category 'external data') -----
  allocateExternal
  
+ 	| data |
+ 	data := self contentType allocateExternal: self size.
+ 	^ self isTypeAlias
+ 		ifTrue: [referentClass fromHandle: data getHandle]
+ 		ifFalse: [data]!
- 	^ self contentType allocateExternal: self size!



More information about the Squeak-dev mailing list