summaryrefslogtreecommitdiff
path: root/Lisp/method-invocation.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'Lisp/method-invocation.lisp')
-rw-r--r--Lisp/method-invocation.lisp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lisp/method-invocation.lisp b/Lisp/method-invocation.lisp
index 750647f..660b9ae 100644
--- a/Lisp/method-invocation.lisp
+++ b/Lisp/method-invocation.lisp
@@ -451,9 +451,10 @@ easier to use with __apply__.
(let ((*skip-retaining*
(or *skip-retaining*
(constructor-name-p (selector-name selector)))))
- (make-pointer-wrapper (car return-type)
- :pointer (cffi:mem-ref objc-return-value-cell
- return-c-type))))
+ (intern-pointer-wrapper (car return-type)
+ :pointer (cffi:mem-ref
+ objc-return-value-cell
+ return-c-type))))
((:char :unsigned-char)
;; FIXME? This is non-trivial. See policy.lisp for
;; details.