Mantis - Squeak
Viewing Issue Advanced Details
7842 FFI minor always 12-01-15 21:09 12-01-15 21:09
Nicolai Hess  
 
normal  
new 4.5  
open  
none    
none  
0007842: FFI examples on Linux /Unix examples don't work
X11Display coloredRectangles

raises an error coud not coerce arguments

posted on the mailing list and we have a bug entry in pharos bug tracker.

My analysis:

I replaced all X11Drawable arguments in the ffi call signature to ulong
and replace the call ... drawable ... with ... drawable xid ...

But I am confused because the latest update for the examples had
the comment "made the XLib examlpes actually work". So maybe my usage or version
of FFI is wrong.
see discussion
http://forum.world.st/FFI-examples-on-Linux-don-t-work-tp4779450.html [^]
and
http://forum.world.st/Maintainer-of-FFI-Package-tp4781016.html [^]

attached the change set I made to make the examples working again.
But I don't know
 fix_ffi_unix_examples.1.cs [^] (5,957 bytes) 12-01-15 21:09

There are no notes attached to this issue.