Changeset 421
- Timestamp:
- Jan 30, 2004, 11:34:07 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-1/l1-clos.lisp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-1/l1-clos.lisp
r412 r421 771 771 *standard-reader-method-class*) 772 772 773 (defmethod add-reader-method ((class s td-class) gf dslotd)773 (defmethod add-reader-method ((class slots-class) gf dslotd) 774 774 (let* ((initargs 775 775 `(:qualifiers nil … … 805 805 806 806 807 (defmethod add-writer-method ((class s td-class) gf dslotd)807 (defmethod add-writer-method ((class slots-class) gf dslotd) 808 808 (let* ((initargs 809 809 `(:qualifiers nil … … 870 870 (:name name :initargs (:name) :initform nil :initfunction ,#'false :readers (class-name)) 871 871 (:name precedence-list :initargs (:precedence-list) :initform nil :initfunction ,#'false) 872 (:name own-wrapper :initargs (:own-wrapper) :initform nil :initfunction ,#'false :readers (class-own-wrapper) )872 (:name own-wrapper :initargs (:own-wrapper) :initform nil :initfunction ,#'false :readers (class-own-wrapper) :writers ((setf class-own-wrapper))) 873 873 (:name direct-superclasses :initargs (:direct-superclasses) :initform nil :initfunction ,#'false :readers (class-direct-superclasses)) 874 874 (:name direct-subclasses :initargs (:direct-subclasses) :initform nil :initfunction ,#'false :readers (class-direct-subclasses)) … … 893 893 :direct-superclasses '(class) 894 894 :direct-slots `((:name direct-slots :initform nil :initfunction ,#'false 895 :initargs (:direct-slots) :readers (class-direct-slots)) 895 :initargs (:direct-slots) :readers (class-direct-slots) 896 :writers ((setf class-direct-slots))) 896 897 (:name slots :initform nil :initfunction ,#'false 897 898 :readers (class-slots)) … … 1165 1166 (fdefinition '%class-direct-slots) #'class-direct-slots 1166 1167 (fdefinition '(setf %class-direct-slots)) 1167 #'(lambda (new class) 1168 (if (typep class 'slots-class) 1169 (setf (slot-value class 'direct-slots) new) 1170 new)) 1168 #'(setf class-direct-slots) 1171 1169 (fdefinition '%class-slots) #'class-slots 1172 1170 (fdefinition '%class-direct-superclasses) #'class-direct-superclasses … … 1175 1173 (setf (slot-value class 'direct-superclasses) new)) 1176 1174 (fdefinition '%class-direct-subclasses) #'class-direct-subclasses 1175 (fdefinition '%class-own-wrapper) #'class-own-wrapper 1176 (fdefinition '(setf %class-own-wrapper)) #'(setf class-own-wrapper) 1177 1177 ) 1178 1178 1179 1179 1180 1180 1181 (setf (fdefinition '%slot-definition-name) #'slot-definition-name 1181 1182 (fdefinition '%slot-definition-type) #'slot-definition-type
Note:
See TracChangeset
for help on using the changeset viewer.
