X-Git-Url: http://dolda2000.com/gitweb/?p=lisp-utils.git;a=blobdiff_plain;f=charcode.lisp;h=a572fc2d15ffa35a698298ad9484ff57c1e83599;hp=ac1c74d40ccd1d7e4313f5c56f61896de72e7a57;hb=53d1dafed1900b44f42acacfd14c3beae1c3af22;hpb=c94c6f05729be13f1433925b0b95c363bb793284 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