pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

UFFI code problem

S
shawon58
Wed, Apr 1, 2020 2:53 AM

I am trying to do "FFICContantExamples class>>absMinusFortyTwo
^ self ffiCall: #( int abs ( TheAnswer ) ) module: LibC" this code but it
shows error  http://forum.world.st/file/t372453/Capture.png
http://forum.world.st/file/t372453/Capture.png

--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

I am trying to do "FFICContantExamples class>>absMinusFortyTwo ^ self ffiCall: #( int abs ( TheAnswer ) ) module: LibC" this code but it shows error <http://forum.world.st/file/t372453/Capture.png> <http://forum.world.st/file/t372453/Capture.png> -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html