FFI: FFI-Kernel-mt.129.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FFI: FFI-Kernel-mt.129.mcz

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

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

Name: FFI-Kernel-mt.129
Author: mt
Time: 4 May 2021, 4:41:16.129881 pm
UUID: 3f7ca6ff-5440-8242-8b9f-d21f6255163a
Ancestors: FFI-Kernel-mt.128

Fixes a minor glitch in the byte-array read-writer.

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

Item was added:
+ ----- Method: ByteArrayReadWriter>>perform:with: (in category 'message handling') -----
+ perform: aSymbol with: anObject
+ "Needed because of AtomicSelectors. See ExternalType >> #handle:at:."
+
+ <primitive: 83>
+ ^ self perform: aSymbol withArguments: { anObject }!

Item was added:
+ ----- Method: ByteArrayReadWriter>>perform:with:with: (in category 'message handling') -----
+ perform: aSymbol with: firstObject with: secondObject
+ "Needed because of AtomicSelectors. See ExternalType >> #handle:at:put:."
+
+ <primitive: 83>
+ ^ self perform: aSymbol withArguments: { firstObject. secondObject }!

Item was changed:
  ----- Method: ByteArrayReadWriter>>setArray: (in category 'initialization') -----
  setArray: aByteArray
 
+ self setArray: aByteArray offset: 0 size: aByteArray size.!
- byteArray := aByteArray.
- byteOffset := 0.
- byteSize := aByteArray size.!