The special form C-INLINE was destructively manipulating its arguments.

This commit is contained in:
Juan Jose Garcia Ripoll 2010-05-08 00:35:18 +02:00
parent d8abf4d4b7
commit fb55d5151d

View file

@ -381,6 +381,7 @@
(let ((ndx (position :cstring arg-types)))
(when ndx
(let* ((var (gensym))
(arguments (copy-list arguments))
(value (elt arguments ndx)))
(setf (elt arguments ndx) var
(elt arg-types ndx) :char*)