chiark / gitweb /
src/: Style cleanup: use constant names for types where available.
[sod] / src / class-make-impl.lisp
index 906519b7ac2826007deae310afcca7fff52f094b..8aacd400ba4650040d9296e58933fd280b0909e9 100644 (file)
@@ -226,7 +226,8 @@ (defmethod shared-initialize :after
                (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")))