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

commits at source.squeak.org commits at source.squeak.org
Wed Aug 18 06:53:46 UTC 2021


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

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

Name: FFI-Kernel-mt.209
Author: mt
Time: 18 August 2021, 8:53:45.010508 am
UUID: d7ef9c5c-b86d-4f49-8e54-9d94b0a47564
Ancestors: FFI-Kernel-mt.208

Fixes recent regression about updating FFI from before FFI-Kernel-mt.208.

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

Item was changed:
  ----- Method: ExternalType class>>initializeAtomicTypeCodes (in category 'class initialization') -----
  initializeAtomicTypeCodes
  	"ExternalType initializeAtomicTypeCodes"
  
  	AtomicTypeCodes := OrderedDictionary newFrom: {
  		#'void' -> FFITypeVoid.
  		#'bool' -> FFITypeBool.
  		
  		#'uint8_t' -> FFITypeUnsignedInt8.
  		#'int8_t' -> FFITypeSignedInt8.
  		#'uint16_t' -> FFITypeUnsignedInt16.
  		#'int16_t' -> FFITypeSignedInt16.
  		#'uint32_t' -> FFITypeUnsignedInt32.
  		#'int32_t' -> FFITypeSignedInt32.
  		#'uint64_t' -> FFITypeUnsignedInt64.
  		#'int64_t' -> FFITypeSignedInt64.
  		
  		#'uchar8_t' -> FFITypeUnsignedChar8.
  		#'char8_t' -> FFITypeSignedChar8.
  		#'uchar16_t' -> FFITypeUnsignedChar16.
  		#'char16_t' -> FFITypeSignedChar16.
  		#'uchar32_t' -> FFITypeUnsignedChar32.
  		#'char32_t' -> FFITypeSignedChar32.
  		
  		#'float' -> FFITypeSingleFloat.
+ 		#'double' -> FFITypeDoubleFloat}.
+ 	
+ 	"We must now reset all atomic types because their names might have changed."
+ 	AtomicTypes := nil.!
- 		#'double' -> FFITypeDoubleFloat
- 	}.!



More information about the Squeak-dev mailing list