Marcel Taeumel uploaded a new version of FFI-Kernel to project FFI:
http://source.squeak.org/FFI/FFI-Kernel-mt.109.mcz==================== Summary ====================
Name: FFI-Kernel-mt.109
Author: mt
Time: 16 June 2020, 2:48:05.218619 pm
UUID: d523d64e-b9fe-e442-b4d8-8524e4f30121
Ancestors: FFI-Kernel-mt.108
Minor cleanup and new script to ease housekeeping.
=============== Diff against FFI-Kernel-mt.108 ===============
Item was added:
+ ----- Method: ExternalType class>>resetAllAtomicTypes (in category 'housekeeping') -----
+ resetAllAtomicTypes
+ "Warning: This call is only required if you change the initialization for AtomicTypes."
+
+ AtomicTypes := nil.
+ StructTypes := nil.
+
+ self initializeDefaultTypes.
+ self resetAllStructureTypes.!
Item was changed:
----- Method: ExternalType>>isTypeAliasForPointer (in category 'testing') -----
isTypeAliasForPointer
+ "Answer whether this type aliases a pointer type, e.g., typedef char* charptr_t"
- "Answer whether this type aliases a pointer type, e.g., typedef char_ptr char*"
"See ThreadedFFIPlugin >> ffiArgument: oop Spec: argSpec Class: argClass in: calloutState"
"Note that self isTypeAliasForPointer => [self isPointerType not]"
+ "^ self isTypeAlias and: [self isStructureType and:[self headerWord anyMask: FFIFlagPointer]]"
+ ^ self headerWord anyMask: FFIFlagPointer+FFIFlagStructure!
- ^ self isTypeAlias and: [self isStructureType and:[self headerWord anyMask: FFIFlagPointer]]!