Marcel Taeumel uploaded a new version of FFI-Tools to project FFI:
http://source.squeak.org/FFI/FFI-Tools-mt.8.mcz
==================== Summary ====================
Name: FFI-Tools-mt.8
Author: mt
Time: 1 June 2020, 10:20:08.633523 am
UUID: 9d767c70-03f1-8c4d-a7cf-e30f2228a41e
Ancestors: FFI-Tools-mt.7
Complements FFI-Kernel-mt.85.
=============== Diff against FFI-Tools-mt.7 ===============
Item was added:
+ ----- Method: ExternalStructure class>>compositeKindName (in category '*FFI-Tools-printing') -----
+ compositeKindName
+ ^'struct'!
Item was added:
+ ----- Method: ExternalStructure>>compositeKindName (in category '*FFI-Tools-printing') -----
+ compositeKindName
+ ^self class compositeKindName!
Item was added:
+ ----- Method: ExternalType>>subStructureClassFor:in: (in category '*FFI-Tools-printing') -----
+ subStructureClassFor: fieldName in: structureClass
+ "fieldName is some field name within a structure that should be the selector of
+ the accessor method for the field within some structureClass. Find the class for
+ the field by searching the defining class's accessor method."
+ | subStructureClassBinding |
+ subStructureClassBinding := (structureClass
+ compiledMethodAt: fieldName
+ ifAbsent: [self error: 'cannot find ', fieldName, ' in ', structureClass name, '. Perhaps ', structureClass name, ' definieFields is needed.'])
+ literals detect:
+ [:l| l isVariableBinding and: [l value inheritsFrom: ExternalStructure]].
+ ^subStructureClassBinding value!
Item was added:
+ ----- Method: ExternalUnion class>>compositeKindName (in category '*FFI-Tools-printing') -----
+ compositeKindName
+ ^'union'!
Marcel Taeumel uploaded a new version of FFI-Kernel to project FFI:
http://source.squeak.org/FFI/FFI-Kernel-mt.85.mcz
==================== Summary ====================
Name: FFI-Kernel-mt.85
Author: mt
Time: 1 June 2020, 10:19:39.682523 am
UUID: 98694c2e-0239-1d4e-b27d-2ece5515a6be
Ancestors: FFI-Kernel-mt.84
Moves more tool methods to the FFI-Tools package. Note that if we need one of those for FFI-Kernel functions, we can move it back.
(Sorry for the noise. ^__^ Coffee was too strong. Hitting the commit button way too often.)
=============== Diff against FFI-Kernel-mt.84 ===============
Item was removed:
- ----- Method: ExternalStructure class>>compositeKindName (in category 'converting') -----
- compositeKindName
- ^'struct'!
Item was removed:
- ----- Method: ExternalStructure>>compositeKindName (in category 'printing') -----
- compositeKindName
- ^self class compositeKindName!
Item was removed:
- ----- Method: ExternalType>>subStructureClassFor:in: (in category 'private') -----
- subStructureClassFor: fieldName in: structureClass
- "fieldName is some field name within a structure that should be the selector of
- the accessor method for the field within some structureClass. Find the class for
- the field by searching the defining class's accessor method."
- | subStructureClassBinding |
- subStructureClassBinding := (structureClass
- compiledMethodAt: fieldName
- ifAbsent: [self error: 'cannot find ', fieldName, ' in ', structureClass name, '. Perhaps ', structureClass name, ' definieFields is needed.'])
- literals detect:
- [:l| l isVariableBinding and: [l value inheritsFrom: ExternalStructure]].
- ^subStructureClassBinding value!
Item was removed:
- ----- Method: ExternalUnion class>>compositeKindName (in category 'converting') -----
- compositeKindName
- ^'union'!
Marcel Taeumel uploaded a new version of FFI-Kernel to project FFI:
http://source.squeak.org/FFI/FFI-Kernel-mt.84.mcz
==================== Summary ====================
Name: FFI-Kernel-mt.84
Author: mt
Time: 1 June 2020, 10:11:15.683523 am
UUID: f479d8e8-50e0-9c45-96f5-38138001b6c4
Ancestors: FFI-Kernel-mt.83
Moves more C code generation for typedefs to FFI-Tools package, because it is a debugging tool and not required to keep FFI working.
=============== Diff against FFI-Kernel-mt.83 ===============
Item was removed:
- ----- Method: ExternalStructure class>>typedef (in category 'converting') -----
- typedef
- ^self externalType typedef!