squeak-smalltalk / squeak-object-memory

Issues and assets related to the Squeak object memory.
https://bugs.squeak.org
MIT License
11 stars 1 forks source link

FFI: Missing method ExternalType class >> int32_t #30

Open j4yk opened 2 years ago

j4yk commented 2 years ago

ExternalType atomicTypeNamed: 'c_long' -> ExternalType c_long -> ExternalType int32_t -> doesNotUnderstand:

Either some methods are missing, or some code was not adapted.

Version: FFI-Kernel-mt.223.mcz, FFI-Pools-mt.39.mcz, FFI-Win32-mt.21.mcz Error appears when I try to load FFI-Tests-mt.70.mcz

j4yk commented 2 years ago

When I resumed that image, I even got this warning:

FFI plugin not available.

MessageNotUnderstood: ExternalType class>>int32_t"

marceltaeumel commented 2 years ago

If you have trouble updating FFI in an existing image, try resetting the FFI type infrastructure:

ExternalType resetAllTypes.

Also try toggling the FFI preferences that generate code as a side effect. See "FFI Kernel" category in the PreferenceBrowser.


In any case, I assume that this issue does not occur in a fresh FFI installation. Am I correct?