FFI: FFI-Kernel-mt.112.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.112.mcz

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

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

Name: FFI-Kernel-mt.112
Author: mt
Time: 18 June 2020, 2:19:40.444656 pm
UUID: 5099522a-d182-6c4d-813b-9c560dbadefd
Ancestors: FFI-Kernel-mt.111

Fixes print-string for external addresses for 64-bit.

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

Item was changed:
  ----- Method: ExternalAddress>>printOn: (in category 'printing') -----
  printOn: aStream
  "print this as a hex address ('@ 16rFFFFFFFF') to distinguish it from ByteArrays"
 
+ aStream
+ nextPutAll: '@ ';
+ nextPutAll: (self asInteger
+ storeStringBase: 16
+ length: 3 "16r" + (self class wordSize * 2)
+ padded: true)!
- aStream nextPutAll: '@ '; nextPutAll: (self asInteger storeStringBase: 16 length: 11 padded: true)!