[UFFI-Users] libc.so and UFFI why this doesn't work
Luís Oliveira
luismbo at gmail.com
Sat Feb 17 19:15:52 MST 2007
On 18/02/07, Patrick X <dabittweiler at gmail.com> wrote:
> (defstruct timestruc
> (tv_sec :int)
> (tv_nsec :int)
> (next :pointer-self))
DEFSTRUCT defines a Lisp structure, not a C structure. I can't seem to
find a UFFI tutorial so what I can recommend to you is the CFFI
tutorial (part of the user manual):
http://common-lisp.net/project/cffi/manual/index.html
CFFI is similar to UFFI so you'll be able to apply the knowledge you
get from the tutorial to UFFI if you want.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
More information about the UFFI-Users
mailing list