X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ffd-stream.lisp;h=54c7c51359b3ca998706f7013d7593d3a6cf95f9;hb=c02501b9bbd01f1c0c0e896dc5cdb7657a77e4a7;hp=a2940e14176b8d94c6725526043fe3e9268a1d29;hpb=765a042b5f968f285d8bd4a4ea1e897ca29abc8d;p=sbcl.git diff --git a/src/code/fd-stream.lisp b/src/code/fd-stream.lisp index a2940e1..54c7c51 100644 --- a/src/code/fd-stream.lisp +++ b/src/code/fd-stream.lisp @@ -407,14 +407,10 @@ ;;; this is not something we want to export. Nikodemus thinks the ;;; right thing is to support a low-level non-stream like IO layer, ;;; akin to java.nio. -(defun output-raw-bytes (stream thing &optional start end) +(declaim (inline output-raw-bytes)) +(define-deprecated-function :late "1.0.8.16" output-raw-bytes write-sequence + (stream thing &optional start end) (write-or-buffer-output stream thing (or start 0) (or end (length thing)))) - -(define-compiler-macro output-raw-bytes (stream thing &optional start end) - (deprecation-warning 'output-raw-bytes) - (let ((x (gensym "THING"))) - `(let ((,x ,thing)) - (write-or-buffer-output ,stream ,x (or ,start 0) (or ,end (length ,x)))))) ;;;; output routines and related noise