rep.ffi



Hi all,

does anyone of you have a clue on how to use rep.ffi?

Well I'm able to load a lib and to lookup a symbol, but I'm struggling on calling a
symbol...

sawfish-client
user> (require 'rep.ffi)
t
user> (ffi-load-library "libc.so.6")
8
user> (ffi-lookkup-symbol 8 "wprintf")
3063307008

Now... what?

It seems that rep.ffi is somewhat complete, so we might use it for glueing GTK+3 I guess.

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]