Changeset 411


Ignore:
Timestamp:
Jan 26, 2004, 4:08:21 AM (21 years ago)
Author:
Gary Byers
Message:

INSTANCE-CLASS-WRAPPER (how many versions of this are there ?) looks
at pointer-based classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-clos-boot.lisp

    r395 r411  
    14171417 ; returns thing's class-wrapper or nil if it isn't a standard-object
    14181418  (if (standard-instance-p thing)
    1419     (let* ((wrapper (instance.class-wrapper thing)))
    1420       (if (uvectorp wrapper)  ;; ???? - probably ok
    1421         wrapper))
     1419    (instance.class-wrapper thing)
    14221420    (if (typep thing 'macptr)
    14231421      (foreign-instance-class-wrapper thing))))
     
    31813179
    31823180(defmethod instance-class-wrapper ((instance standard-object))
    3183   (instance.class-wrapper instance))
     3181  (if (%standard-instance-p instance)
     3182    (instance.class-wrapper instance)
     3183    (if (typep instance 'macptr)
     3184      (foreign-instance-class-wrapper instance))))
    31843185
    31853186(defmethod instance-class-wrapper ((instance standard-generic-function))
    31863187  (gf.instance.class-wrapper  instance))
     3188
     3189
     3190                                   
    31873191
    31883192(defun generic-function-wrapper (gf)
Note: See TracChangeset for help on using the changeset viewer.