[cffi-devel] Accept defcfun name as single element list

Luís Oliveira luismbo at gmail.com
Wed Sep 9 11:03:15 UTC 2009


On Sep 9, 2009, at 12:38 AM, Johan Ur Riise wrote:

> This is the lisp-name function
>
> Even if the system here is conformant with the documentation, it would
> not hurt to allow the last two forms. I suggest to change the first  
> test
> from (keywordp (second spec))
> to (oddp (length spec))


I'm not sure it was a good idea to allow both ("c-name" lisp-name) and  
(lisp-name "c-name"). I'm more inclined to deprecate the latter than  
add yet another special case.

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/








More information about the cffi-devel mailing list