]> gitweb.factorcode.org Git - factor.git/commitdiff
delegate.protocols: update input-stream-protocol
authorJoe Groff <arcata@gmail.com>
Thu, 13 Oct 2011 17:29:48 +0000 (10:29 -0700)
committerJoe Groff <arcata@gmail.com>
Tue, 18 Oct 2011 04:23:04 +0000 (21:23 -0700)
Add stream-read-unsafe and stream-read-partial-unsafe to input-stream-protocol.

basis/delegate/protocols/protocols.factor

index 40054bc4b0f721858c81efe706880855898d83d3..9abee34aa7862e5f6af394a21c234ccfbe6d47f8 100644 (file)
@@ -13,7 +13,8 @@ at* assoc-size >alist set-at assoc-clone-like
 delete-at clear-assoc new-assoc assoc-like ;
 
 PROTOCOL: input-stream-protocol
-stream-read1 stream-read stream-read-partial stream-readln
+stream-read1 stream-read stream-read-partial 
+stream-read-unsafe stream-read-partial-unsafe stream-readln
 stream-read-until ;
 
 PROTOCOL: output-stream-protocol