Marcel Taeumel uploaded a new version of FFI-Kernel to project FFI: http://source.squeak.org/FFI/FFI-Kernel-mt.122.mcz
==================== Summary ====================
Name: FFI-Kernel-mt.122 Author: mt Time: 1 May 2021, 8:25:28.22519 am UUID: 6c3424fd-34f9-f44e-b109-3e27c0690885 Ancestors: FFI-Kernel-mt.121
Adds check to separate integer types from float types. There already is #isIntegerType. For example, callback handles can use this to choose between integer-registers and float-registers easily based on argument types.
=============== Diff against FFI-Kernel-mt.121 ===============
Item was added: + ----- Method: ExternalStructureType>>isFloatType (in category 'testing') ----- + isFloatType + "Overwritten to not raise an error for struct types." + + ^ false!
Item was added: + ----- Method: ExternalType>>isFloatType (in category 'testing') ----- + isFloatType + "Return true if the receiver is a built-in float type" + | type | + type := self atomicType. + ^type = FFITypeSingleFloat or: [type = FFITypeDoubleFloat]!
squeak-dev@lists.squeakfoundation.org