Re: [Pharo-users] FFI Basic

2014-07-10 Thread Clément Bera
Well the method with the code you give was compiled without any problem in my image (Pharo #30851 with FFI loaded with configuration browser as explained in the other thread). Perhaps this is related to your bug in the other thread where you were (probably) missing a package ? 2014-07-10 18:15

[Pharo-users] FFI Basic

2014-07-10 Thread Annick Fron
Hi, I made another attempt , a very basic one on window : trying to use the abs method in the standard lib. abs: aNumber self externalCallFailed I get the error ‘cannot return the given type’. But now if I use long as argument and long as return it works. Annick