I have been working with cmucl 18e and the Intel IPP performance libraries and would like to be able to write an interface from lisp to call their functions as simply as possible. Intel however has a variety of functions which require structures to be passed by value, e.g. a region of interest structure, size.width, size.height for an image copy function. The way I have done it in the past is to write a small C wrapper function around the intel function which either translates the pointer from lisp and then calls the function in C, or which creates the structure itself and passes it.
In looking at the CMUCL ffi manual, it explicitly says that structures can't be passed by value. Is there some other way to call the Intel functions which require such structues by value? For example, is this possible using UFFI? thanks Blake
