18 Mar 2002 18:53
18 Mar 2002 18:57
18 Mar 2002 19:27
Re: CVS commit: uffi
Just a short announce that I plan to add cormanlisp support as soon as my schedule permits. probably mid of april. BTW: I agree that cstrings should be automatically translated. (If you wanted to say that) -- -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/
18 Mar 2002 22:46
Re: CVS commit: uffi
> Just a short announce that I plan to add cormanlisp support > as soon as my schedule permits. probably mid of april. Great -- glad to hear that. John Desoi is planning on adding MCL support. With then 5 platforms being supported, I think that the current technique of placing all of the implementations in one file is getting unwieldy. Further, since the interface is stabilizing, I think it may soon be time to split each implementation into it's own set of source files. Mid-april sounds like a good time to start. I hope that by that time the interface will be stable. > BTW: I agree that cstrings should be automatically translated. > (If you wanted to say that) String handling is problematic due to implementation variance. CMUCL supports automatically translation to and from functions the best. ACL handles it pretty well, but I've not found a way to prevent a run-time warning about translating NIL values into NULL pointers. LW doesn't handle automatic conversion at all. Thus, for cross-platform support, UFFI users must call routines to translate strings to and from functions. Unless, at some point, I add a wrapper around a function definition that does string translation. For CMUCL, currently, with-cstring and convert-from-cstring doesn't do anything to the arguments. So, I have a different set of routines (foreign-string) which always(Continue reading)
18 Mar 2002 23:47
18 Mar 2002 23:47
18 Mar 2002 23:47
18 Mar 2002 23:56
CVS Mail List
I've created a new mail list that has automated log messages for CVS updates. The web address is http://www.b9.com/mailman/listinfo/uffi-cvs. This list is likely only of interest to active CVS writers for UFFI or for people who want to follow the moment to moment development. Kevin
21 Mar 2002 09:32
New version 0.2.11 available
From the ChangeLog: 21 Mar 2002 * Fixed problem with NULL foreign-strings with CMUCL * Added c-test-fns to examples for allow more specific testing of UFFI. Builds on UNIX and Win32 platforms. * Added def-union function, added union.cl example * Fixed error with ensure-char-[character|integer] * Added 2-d array example to examples/arrays.cl * Fixed documentation error on gethostname * Added ensure-char-* and def-union to documentation
29 Mar 2002 15:50
deref-pointer
Should this use convert-from-uffi-type? Seems like it should. Thanks, John DeSoi, Ph.D. (defmacro deref-pointer (ptr type) "Returns a object pointed" #+(or cmu lispworks) (declare (ignore type)) #+cmu `(alien:deref ,ptr) #+lispworks `(fli:dereference ,ptr) #+allegro `(ff:fslot-value-typed ,type :c ,ptr) )
RSS Feed