Changeset 162


Ignore:
Timestamp:
Dec 31, 2003, 3:02:55 AM (21 years ago)
Author:
Gary Byers
Message:

Don't call MAP-OBJC-CLASS when walking modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/examples/process-objc-modules.lisp

    r153 r162  
    7676        (%setf-macptr classptr (%get-ptr defsptr (* i (record-length :address))))
    7777        (when *objc-module-verbose*
    78           (format t "~& processing class ~s"
    79                   (%get-cstring (pref classptr :objc_class.name)))
     78          (format t "~& processing class ~a, info = #x~8,'0x"
     79                  (%get-cstring (pref classptr :objc_class.name))
     80                  (pref classptr :objc_class.info))
    8081          (force-output t))
    8182        ;; process the class
     
    149150         module
    150151         #'(lambda (class)
     152             (when *objc-module-verbose*
     153               (format t "~& == processing class #x~8,'0x ~a, (#x~8,'0x) info = #x~8,'0x"
     154                       (%ptr-to-int class)
     155                       (%get-cstring (pref class :objc_class.name))
     156                       (%ptr-to-int (pref class :objc_class.name))
     157                       (pref class :objc_class.info)))
     158             #+nope
    151159             (unless (logtest #$CLS_META (pref class :objc_class.info))
    152160               (map-objc-class class))
Note: See TracChangeset for help on using the changeset viewer.