Marcel Taeumel uploaded a new version of FFI-Tests to project FFI:
http://source.squeak.org/FFI/FFI-Tests-mt.49.mcz==================== Summary ====================
Name: FFI-Tests-mt.49
Author: mt
Time: 26 May 2021, 3:29:21.849346 pm
UUID: 9502c26d-eff5-4641-98ad-d3ee650f08ba
Ancestors: FFI-Tests-mt.48
Complements FFI-Kernel-mt.170
=============== Diff against FFI-Tests-mt.48 ===============
Item was changed:
----- Method: FFIAllocateTests>>tearDown (in category 'running') -----
tearDown
externalObjects do: [:externalObject |
externalObjects isExternalObject "i.e. not a RawBitsArray"
ifTrue: [
externalObject free.
+ self checkFree: externalObject]].
+ super tearDown.!
- self checkFree: externalObject]].!
Item was added:
+ ----- Method: FFITestLibrary class>>ffiTestDecoration (in category 'experiments') -----
+ ffiTestDecoration
+ "Just a mock. Commas and 'const' should be ignored while parsing the signature."
+
+ <cdecl: threaded const void* 'ffiTestDecoration' (void*, const int*, double, const int[], char*) module: 'SqueakFFIPrims'>
+ ^ self externalCallFailed !
Item was added:
+ ----- Method: FFITestLibrary class>>ffiTestFunctionByIndex (in category 'experiments') -----
+ ffiTestFunctionByIndex
+ "Just a mock. Functions can be specified by index."
+
+ <cdecl: void 42 (void)>
+ ^ self externalCallFailed !
Item was added:
+ ----- Method: FFITestLibrary class>>ffiTestFunctionByString (in category 'experiments') -----
+ ffiTestFunctionByString
+ "Just a mock. Functions can be specified by string."
+
+ <cdecl: void 'ffiTestFunctionByString' (void)>
+ ^ self externalCallFailed !
Item was added:
+ ----- Method: FFITestLibrary class>>ffiTestFunctionByToken (in category 'experiments') -----
+ ffiTestFunctionByToken
+ "Just a mock. Functions can be specified by token."
+
+ <cdecl: void ffiTestFunctionByToken (void)>
+ ^ self externalCallFailed !