From 53d1dafed1900b44f42acacfd14c3beae1c3af22 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Tue, 30 Mar 2010 04:31:37 +0200 Subject: [PATCH] CHARCODE: Disable codec streams until I can find a way to get them to work across implementations. --- charcode.lisp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/charcode.lisp b/charcode.lisp index ac1c74d..a572fc2 100644 --- a/charcode.lisp +++ b/charcode.lisp @@ -2,7 +2,7 @@ ;;;; representations thereof (defpackage :charcode - (:use :cl #+sbcl :sb-gray #-sbcl :gray) + (:use :cl) (:export "MAKE-ENCODER" "MAKE-DECODER" "ENCODE-STRING" "DECODE-STRING" "SYSTEM-CHARSET" "NO-CODEC-ERROR" "CODING-ERROR" "MAKE-CODEC-CHARACTER-STREAM" @@ -81,6 +81,10 @@ ;;; Gray stream implementation +;; Disabled for now. There doesn't seem to be any good way to get +;; these working generally over various implementations. + +#+unused ( (defclass codec-character-stream (fundamental-character-input-stream fundamental-character-output-stream) ((decoder :initarg :decoder) (encoder :initarg :encoder) @@ -189,6 +193,7 @@ (let ((outbuf (make-array (list (- end start)) :element-type '(unsigned-byte 8) :adjustable t :fill-pointer 0))) (funcall encoder seq outbuf) (write-sequence outbuf back)))) +) ;;; Implementation-specific functions -- 2.11.0