Changeset 397
- Timestamp:
- Jan 25, 2004, 2:10:05 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-1/l1-io.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-1/l1-io.lisp
r211 r397 1488 1488 1489 1489 (defun write-a-macptr (macptr stream) 1490 (let ((null (%null-ptr-p macptr))) 1490 (let* ((null (%null-ptr-p macptr)) 1491 (ftype (%macptr-ftype macptr)) 1492 (ftype-info (if ftype (unparse-foreign-type ftype)))) 1491 1493 (print-unreadable-object (macptr stream) 1492 1494 (if null 1493 (%write-string "A Null Mac Pointer" stream) 1495 (progn 1496 (%write-string "A Null Mac Pointer" stream) 1497 (when ftype-info 1498 (format stream " to foreign type ~s" ftype-info))) 1494 1499 (progn 1495 1500 (pp-start-block stream "A Mac Pointer") 1496 1501 (%write-macptr-termination-info macptr stream) 1502 (when ftype-info 1503 (format stream " to foreign type ~s at" ftype-info)) 1497 1504 (stream-write-char stream #\ ) 1498 1505 (write-an-integer (%ptr-to-int macptr) stream 16. t))))))
Note:
See TracChangeset
for help on using the changeset viewer.
