[squeak-dev] FFI: FFI-Pools-mt.32.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Aug 9 14:09:35 UTC 2021

Marcel Taeumel uploaded a new version of FFI-Pools to project FFI:

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

Name: FFI-Pools-mt.32
Author: mt
Time: 9 August 2021, 4:09:34.890391 pm
UUID: e88ddc3c-116f-c44e-9a38-72b380f8011a
Ancestors: FFI-Pools-mt.31

Fix package preamble to declare known class names upfront to avoid unnecessary warnings in the Transcript.

=============== Diff against FFI-Pools-mt.31 ===============

Item was added:
+ (PackageInfo named: 'FFI-Pools') preamble: '"To avoid warnings, declare classes that will be loaded from FFI-Kernel, immediately after loading this package."
+ #(ExternalType ExternalAddress FFIPlatformDescription)
+ 	do: [:className | | environment |
+ 		environment := Environment default.
+ 		(environment declarationOf: className)
+ 			ifNil: [environment bind: className to: nil]].'!

More information about the Squeak-dev mailing list