chiark / gitweb /
src/: Argument lists don't only contain `argument' objects.
[sod] / src / c-types-impl.lisp
index be2c055524ddbf300680221d795904f65531b3d3..b4f02e1fc0178ade21d74caa6dc06ccf9d0fd274 100644 (file)
@@ -431,6 +431,7 @@ (defun make-function-type (subtype arguments)
   (make-instance 'c-function-type :subtype subtype
                 :arguments (if (and arguments
                                     (null (cdr arguments))
+                                    (not (eq (car arguments) :ellipsis))
                                     (eq (argument-type (car arguments))
                                         c-type-void))
                                nil