Changeset 327
- Timestamp:
- Jan 17, 2004, 7:58:52 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/library/lispequ.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/library/lispequ.lisp
r269 r327 262 262 %pathname-directory 263 263 %pathname-name 264 %pathname-type 264 %pathname-type) 265 266 (def-accessors (logical-pathname) %svref 267 () ; 'logical-pathname 268 %pathname-directory 269 %pathname-name 270 %pathname-type 265 271 %logical-pathname-host 266 272 %logical-pathname-version) … … 941 947 ;;; Doing this via %SLOT-REF traps if the slot is unbound 942 948 (defmacro standard-instance-instance-location-access (instance location) 943 `(%slot-ref (instance .slots ,instance) ,location))949 `(%slot-ref (instance-slots ,instance) ,location)) 944 950 945 951 ;;; Get the "raw" contents of the slot, even if it's %SLOT-UNBOUND-MARKER. 946 952 (defmacro %standard-instance-instance-location-access (instance location) 947 `(%svref (instance .slots ,instance) ,location))953 `(%svref (instance-slots ,instance) ,location)) 948 954 949 955 (defmacro set-standard-instance-instance-location-access (instance location new) 950 `(setf (%svref (instance .slots ,instance) ,location) ,new))956 `(setf (%svref (instance-slots ,instance) ,location) ,new)) 951 957 952 958 (defsetf standard-instance-instance-location-access
Note:
See TracChangeset
for help on using the changeset viewer.
