~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd60ce6
)
src/class-utilities.lisp: Compare C types with the right function.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000
(10:58 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 6 Sep 2015 11:25:03 +0000
(12:25 +0100)
There's something weird with the caching, I think. But this way leaves
a better taste anyway.
src/class-utilities.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/class-utilities.lisp
b/src/class-utilities.lisp
index
aa4ef17
..
5a74bcb
100644
(file)
--- a/
src/class-utilities.lisp
+++ b/
src/class-utilities.lisp
@@
-160,7
+160,8
@@
(and (= (length message-args) (length method-args))
(every (lambda (message-arg method-arg)
(if (eq message-arg :ellipsis)
- (eq method-arg (c-type va-list))
+ (c-type-equal-p (argument-type method-arg)
+ (c-type va-list))
(c-type-equal-p (argument-type message-arg)
(argument-type method-arg))))
message-args method-args)))