chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b3e77b3
)
Added missing support for setf-forms for virtual slot setters
author
espen
<espen>
Tue, 2 Jan 2007 16:04:57 +0000
(16:04 +0000)
committer
espen
<espen>
Tue, 2 Jan 2007 16:04:57 +0000
(16:04 +0000)
gffi/virtual-slots.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gffi/virtual-slots.lisp
b/gffi/virtual-slots.lisp
index 21af52d1f68300e74aef091de85f341e28962c41..f2a7c3238455abe1ea8b27d535ddf7977715f32b 100644
(file)
--- a/
gffi/virtual-slots.lisp
+++ b/
gffi/virtual-slots.lisp
@@
-20,7
+20,7
@@
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-;; $Id: virtual-slots.lisp,v 1.
5 2006-09-13 10:52:16
espen Exp $
+;; $Id: virtual-slots.lisp,v 1.
6 2007-01-02 16:04:57
espen Exp $
(in-package "GFFI")
(in-package "GFFI")
@@
-207,6
+207,8
@@
(defmethod compute-slot-writer-function ((slotd effective-virtual-slot-definitio
#+sbcl
(etypecase setter
(symbol #'(lambda (object value) (funcall setter object value)))
#+sbcl
(etypecase setter
(symbol #'(lambda (object value) (funcall setter object value)))
+ (list #'(lambda (object value)
+ (funcall setter value object)))
(function setter))))
(define-condition slot-can-not-be-unbound (cell-error)
(function setter))))
(define-condition slot-can-not-be-unbound (cell-error)