[squeak-dev] FFI: FFI-Tools-mt.34.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 20 17:35:46 UTC 2021


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

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

Name: FFI-Tools-mt.34
Author: mt
Time: 20 May 2021, 7:35:45.65158 pm
UUID: b4e13008-ef6e-5240-8777-6322a3d3edc8
Ancestors: FFI-Tools-mt.33

Complements FFI-Kernel-mt.162

=============== Diff against FFI-Tools-mt.33 ===============

Item was changed:
  ----- Method: ExternalData>>explorerContents (in category '*FFI-Tools') -----
  explorerContents
  	"Prefix all instance variables and append extra meta information (e.g., the external type) as well as all structure fields as defined in #fields."
  	 
  	| basicExplorerFields |
  	basicExplorerFields := super explorerContents.
  	basicExplorerFields do: [:explorerField |
  		explorerField itemName = '_type' ifTrue: [
+ 			explorerField object: self externalType]].
- 			explorerField itemName: '_containerType']].
  	^ basicExplorerFields!

Item was changed:
  ----- Method: ExternalData>>explorerContentsMetaFields (in category '*FFI-Tools') -----
  explorerContentsMetaFields
  	"Skip _type because our external type is already in the basic explorer fields because it is an instance variable. Add _contentType for clarification."
  
  	^ {
+ 		ObjectExplorerWrapper with: self containerType name: '_containerType' model: self.
  		ObjectExplorerWrapper with: self contentType name: '_contentType' model: self.
  	}!



More information about the Squeak-dev mailing list