Re: Alternative to copy-in/copy-out?
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Fri, 25 Oct 2002 05:36:41 -0600
| Newsgroups | gmane.lisp.uffi.general |
|---|---|
| Message-ID | <[email protected]> |
Hoehle, Joerg-Cyril wrote: > Actually, I very much prefer FFI declarations which provide more information than Allegro does. What is extremely important for this example to work, is that the double array is passed *read-write*. This is not natural (yet typical for C). Having means to express this difference helps a lot in portability, maintenance and program understanding. Hi Joerg, Thanks for your thoughts. Now that UFFI supports all of the ANSI CL's except for CLisp, I think it is a good time to consider adding high-level declarations similar to the ones that you have been mentioned. Not only for safety sake, for also for efficiency, it would be nice to have UFFI handle destructive array passing. I've put this officially on UFFI's todo list, but unfortunately, I won't have time to work on this in the near future. It is a good goal for refactoring UFFI v2. Kevin