Hi all!
The FFI plugin automatically converts "char*" return values into a Smalltalk string when returning from the FFI call.
I would rather leave this conversion to the image side because you have to do it anyway when interpreting external structures. See ExternalData >> #fromCString. And because it can be dangerous. Note that I do like automatic String-to-char* conversion when making an FFI call. Just not the other way around.
See (Threaded)FFIPlugin >> #ffiReturnCStringFrom:.
What are your thoughts on this matter?
Best,
Marcel