Просмотр исходного кода

stream-read/write-char-sequence fuer clisp

dlichteblau 20 лет назад
Родитель
Сommit
5156672907
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      mixin.lisp

+ 8 - 0
mixin.lisp

@@ -69,6 +69,14 @@
       (error "this stream does not support the NO-HANG argument"))
       (error "this stream does not support the NO-HANG argument"))
     (when interactive
     (when interactive
       (error "this stream does not support the INTERACTIVE argument"))
       (error "this stream does not support the INTERACTIVE argument"))
+    (stream-write-sequence s seq start end))
+
+  (defmethod gray:stream-read-char-sequence
+      ((s trivial-gray-stream-mixin) seq &optional start end)
+    (stream-read-sequence s seq start end))
+
+  (defmethod gray:stream-write-char-sequence
+      ((s trivial-gray-stream-mixin) seq &optional start end)
     (stream-write-sequence s seq start end)))
     (stream-write-sequence s seq start end)))
 
 
 #+sbcl
 #+sbcl