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

Luís Oliveira luismbo at gmail.com
Wed Sep 9 19:53:36 UTC 2009


On Wed, Sep 9, 2009 at 8:34 PM, Johan Ur Riise <johan at riise-data.no> wrote:
> That is all right, but still ("c-name") by itself in parantheses, with
> no keywords, produces illegal code (defun nil ...) which made my slime /
> ccl combo hang.

Oh, I didn't realize that. You're right, that's unacceptable. Would
signalling an error on the ("c-name") and (lisp-name) cases work for
you? (Along with the appropriate documentation fixes.) While I'm at
it, unless there are any objections, I might make (lisp-name "c-name")
signal a style-warning.

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




More information about the cffi-devel mailing list