Marcel Taeumel uploaded a new version of FFI-Kernel to project FFI: http://source.squeak.org/FFI/FFI-Kernel-mt.203.mcz
==================== Summary ====================
Name: FFI-Kernel-mt.203 Author: mt Time: 13 August 2021, 1:19:00.926799 pm UUID: 15800863-014f-ea44-bd88-5b0ebb465a50 Ancestors: FFI-Kernel-mt.202
For backwards compatibility in terms of performance, add the integer primitives to the old-style ByteArray interface.
=============== Diff against FFI-Kernel-mt.202 ===============
Item was changed: ----- Method: ByteArray>>signedLongAt: (in category '*FFI-Kernel-examples') ----- signedLongAt: byteOffset "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveSignedInt32At module: #SqueakFFIPrims error: ec> - ^ ExternalType int32_t handle: self at: byteOffset!
Item was changed: ----- Method: ByteArray>>signedLongAt:put: (in category '*FFI-Kernel-examples') ----- signedLongAt: byteOffset put: value "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveSignedInt32AtPut module: #SqueakFFIPrims error: ec> - ^ ExternalType int32_t handle: self at: byteOffset put: value!
Item was changed: ----- Method: ByteArray>>signedLongLongAt: (in category '*FFI-Kernel-examples') ----- signedLongLongAt: byteOffset "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveSignedInt64At module: #SqueakFFIPrims error: ec> - ^ ExternalType int64_t handle: self at: byteOffset!
Item was changed: ----- Method: ByteArray>>signedLongLongAt:put: (in category '*FFI-Kernel-examples') ----- signedLongLongAt: byteOffset put: value "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveSignedInt64AtPut module: #SqueakFFIPrims error: ec> - ^ ExternalType int64_t handle: self at: byteOffset put: value!
Item was changed: ----- Method: ByteArray>>signedShortAt: (in category '*FFI-Kernel-examples') ----- signedShortAt: byteOffset "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveSignedInt16At module: #SqueakFFIPrims error: ec> - ^ ExternalType int16_t handle: self at: byteOffset!
Item was changed: ----- Method: ByteArray>>signedShortAt:put: (in category '*FFI-Kernel-examples') ----- signedShortAt: byteOffset put: value "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveSignedInt16AtPut module: #SqueakFFIPrims error: ec> - ^ ExternalType int16_t handle: self at: byteOffset put: value!
Item was changed: ----- Method: ByteArray>>unsignedLongAt: (in category '*FFI-Kernel-examples') ----- unsignedLongAt: byteOffset "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveUnsignedInt32At module: #SqueakFFIPrims error: ec> - ^ ExternalType uint32_t handle: self at: byteOffset!
Item was changed: ----- Method: ByteArray>>unsignedLongAt:put: (in category '*FFI-Kernel-examples') ----- unsignedLongAt: byteOffset put: value "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveUnsignedInt32AtPut module: #SqueakFFIPrims error: ec> - ^ ExternalType uint32_t handle: self at: byteOffset put: value!
Item was changed: ----- Method: ByteArray>>unsignedLongLongAt: (in category '*FFI-Kernel-examples') ----- unsignedLongLongAt: byteOffset "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveUnsignedInt64At module: #SqueakFFIPrims error: ec> - ^ ExternalType uint64_t handle: self at: byteOffset!
Item was changed: ----- Method: ByteArray>>unsignedLongLongAt:put: (in category '*FFI-Kernel-examples') ----- unsignedLongLongAt: byteOffset put: value "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveUnsignedInt64AtPut module: #SqueakFFIPrims error: ec> - ^ ExternalType uint64_t handle: self at: byteOffset put: value!
Item was changed: ----- Method: ByteArray>>unsignedShortAt: (in category '*FFI-Kernel-examples') ----- unsignedShortAt: byteOffset "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveUnsignedInt16At module: #SqueakFFIPrims error: ec> - ^ ExternalType uint16_t handle: self at: byteOffset!
Item was changed: ----- Method: ByteArray>>unsignedShortAt:put: (in category '*FFI-Kernel-examples') ----- unsignedShortAt: byteOffset put: value "For documentation and convenient exploration only. Type-safe access to byte arrays or external addresses SHOULD happen via external objects that have a type set such as instances of ExternalStructure and ExternalData." + <primitive: #primitiveUnsignedInt16AtPut module: #SqueakFFIPrims error: ec> - ^ ExternalType uint16_t handle: self at: byteOffset put: value!
packages@lists.squeakfoundation.org