projects
/
hyperobject.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r4585: Auto commit for Debian build
[hyperobject.git]
/
rules.lisp
diff --git
a/rules.lisp
b/rules.lisp
index 8b1f59d31f81e94ea1f9fa8df9e9b51f49202e1a..5a473b955303f82c4479e17dae8785a86b0a000a 100644
(file)
--- a/
rules.lisp
+++ b/
rules.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: rules.lisp,v 1.
5 2003/04/22 15:22:25
kevin Exp $
+;;;; $Id: rules.lisp,v 1.
10 2003/04/22 15:30:59
kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
@@
-73,10
+73,12
@@
(defmethod (setf slot-value-using-class)
:around (new-value (cl hyperobject-class) obj
(slot standard-effective-slot-definition))
(defmethod (setf slot-value-using-class)
:around (new-value (cl hyperobject-class) obj
(slot standard-effective-slot-definition))
-; #+ignore
- (cmsg-c :verbose "Setf slot value: class: ~s, obj: ~s, slot: ~s, value: ~s" cl (class-of obj) slot new-value)
-
#+ignore
#+ignore
+ (cmsg-c :verbose "Setf slot value: class: ~s, obj: ~s, slot: ~s, value: ~s" cl (class-of obj) slot new-value)
+
+ (esd-value-constraint slot)
+ (call-next-method)
+ #+ignore
(let ((func (esd-value-constraint slot)))
(cond
((and func (not (funcall func new-value)))
(let ((func (esd-value-constraint slot)))
(cond
((and func (not (funcall func new-value)))
@@
-84,10
+86,10
@@
(slot-definition-name slot) obj)
(slot-value obj (slot-definition-name slot)))
(t
(slot-definition-name slot) obj)
(slot-value obj (slot-definition-name slot)))
(t
- (
call-next-method)
-
(when (direct-rules cl
)
- (
fire-class-rules cl obj slot)
)
-
new-value
))))
+ (
prog1
+
(call-next-method
)
+ (
when (direct-rules cl
)
+
(fire-class-rules cl obj slot)))
))))
#+ignore
(defmethod slot-value-using-class :around ((cl hyperobject-class) obj
#+ignore
(defmethod slot-value-using-class :around ((cl hyperobject-class) obj