From: Bruno H. <br...@cl...> - 2003-07-14 13:27:47
|
Joerg wrote: > (:arguments (first (c-union (c1 (c-ptr character)) > (s (c-array-ptr character)))) Support for unions as argument/result types is not implemented in ffcall. I.e. avcall and vacall support structs as arg/result types halfway (it works on some platforms and doesn't on others), and unions are your own bet. I don't even know what parameter passing conventions are used by the C compiler for unions. The recommended workaround is to pass pointers to unions or structs; this is fully supported. Bruno |