[cffi-devel] why does cffi not use CLISP's long-long/int64?

Hoehle, Joerg-Cyril Joerg-Cyril.Hoehle at t-systems.com
Thu Dec 22 16:09:22 UTC 2005


Luis Oliveira wrote:
>> Is there a CLISP version currently used with cffi that has FFI but no
>> long-long? What lead to this line in cffi-clisp.lisp?
>I test CFFI mostly on MacOS X. Here, CLISP doesn't seem to support  
>long long.

I see. I can't remember seeing a bug-report on the clisp sourceforge bug tracker, nor in the mailing lists.
Actually, there's currently a general problem with long-long as ffi:s/uint64: it's completely incompatible. I realized this yesterday only (also Pascal Bourguignon gave some hints one year ago, which I did not understand).

[callbacks]
>> Something like this?
>>+       (let ((cb-fun (get ',name 'clisp-callback-function)))
>>+         (when cb-fun (ffi:foreign-free cb-fun)))
>>+       (setf (get ',name 'clisp-callback-function) ,cb-var)
Yes. Excuse me, I didn't look closely enough to see that you use two plist items with this patch. Actually, I wouldn't bother freeing them when they can occur at top-level only.

BTW, does somebody know how to have darcs tell me what changes occurred between my repository and the main one?

darcs changes gives output upto the initial revision. I just want to see a summary of changes.
darcs send -o file contains this plus all the diffs. I don't want to see the diffs.
Is darcs pull --dry-run the answer?

Regards,
	Jörg Höhle.



More information about the cffi-devel mailing list