From ad9ece8b32dcf6a7b0fee2e1503b6cc0be66003f Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Fri, 7 Mar 2008 00:55:15 +0100 Subject: INTERN-CALLBACK-NAME: Correctly distinguish callbacks by the classes they are defined for. darcs-hash:3eb9e5d6e38eede09a912519cc1c10c216dc02ac --- Lisp/method-definition.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lisp/method-definition.lisp b/Lisp/method-definition.lisp index 451732c..ec3138c 100644 --- a/Lisp/method-definition.lisp +++ b/Lisp/method-definition.lisp @@ -390,9 +390,10 @@ __define-objective-c-generic-function__. (defun intern-callback-name (method) (or (gethash method *callback-names* nil) (setf (gethash method *callback-names* nil) - (intern (format nil "~A ~A" + (intern (format nil "~A ~S ~A" (generic-function-name (method-generic-function method)) + (class-name (second (method-specializers method))) (sort (copy-list (method-qualifiers method)) #'string< :key #'string)) -- cgit v1.2.3