Does CFFI contain a Lisp type which represents the
machine's word size?

I guess it could be defined as

  (deftype word-size ()
    `(unsigned-byte ,(* 8 (foreign-type-size :long))))

Are there any caveats? E.g. what about a 32bit Lisp
implementation on a 64bit architecture?

Perhaps the type should rather be defined in each
backend.

  -T.


_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to