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

commits at source.squeak.org commits at source.squeak.org
Thu Jun 18 12:19:39 UTC 2020


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)!



More information about the Squeak-dev mailing list