src/: Style cleanup: use constant names for types where available.
[sod] / src / class-make-impl.lisp
index 906519b..8aacd40 100644 (file)
                (every (lambda (arg)
                         (or (eq arg :ellipsis)
                             (argument-name arg)
-                            (eq (argument-type arg) (c-type void))))
+                            (c-type-equal-p (argument-type arg)
+                                            c-type-void)))
                       (c-function-arguments type)))
       (error "Abstract declarators not permitted in method definitions")))