Changeset 15701


Ignore:
Timestamp:
06/06/23 06:37:29 (6 months ago)
Author:
Mark Evenson
Message:

Use type hierarchy to determine if a stream is ANSI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/gray-streams.lisp

    r15699 r15701  
    190190
    191191(defun ansi-streamp (stream)
    192   (or (xp::xp-structure-p stream)
    193       (funcall *ansi-streamp* stream)))
     192  (not
     193   (subtypep (class-of stream)
     194             'gray-streams::fundamental-stream)))
    194195
    195196(defclass fundamental-stream (standard-object stream)
Note: See TracChangeset for help on using the changeset viewer.