[cffi-devel] Re: cffi macro suggestion

Luís Oliveira luismbo at gmail.com
Sun Mar 26 13:34:51 UTC 2006


hbabcockos1 at mac.com writes:
> (pl-defcfun ("c_plmesh" plmesh) :void
> 	    (x *plflt nx)
> 	    (y *plflt ny)
> 	    (z **plflt (nx ny))
> 	    (nx plint)
> 	    (ny plint)
> 	    (opt plint))
[...]
> (DEFUN PLMESH (X Y Z OPT)

Ah, I missed this detail. To do this you need a wrapper function
indeed. I suppose that when someone adds :out types we might come up
with a generalized interface to omit arguments, maybe.

-- 
Luís Oliveira
luismbo (@) gmail (.) com
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt




More information about the cffi-devel mailing list