Sept. 24, 2016
5:46 p.m.
Did you let LibC class >> ticksSinceStart ^ self ffiCall: #( uint clock () ) module: LibC and in Playground inspect following⦠FFIPlay ticksSinceStart "==> 32709046 (or something similar)" FFIPlay on purpose? It was unclear to me how this is related to LibC Le 24/9/16 à 20:25, Ben Coman a écrit :
hi all,
Just announcing that I'm writing a series of posts on using FFI in Pharo 5 to interface to libclang, the interface library for the LLVM C compiler.
http://blog.openinworld.com/2016/09/pharo-libclang-ffi-part-1-preamble/
I'm writing this from the perspective of a FFI newbie progressively learning the system. I've left in a few mis-steps since I think it can be useful seeing what didn't work.
cheers -ben