Changeset 14820
- Timestamp:
- Jun 10, 2011, 4:02:40 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/source/level-1/l1-streams.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/level-1/l1-streams.lisp
r14580 r14820 4718 4718 4719 4719 4720 (defmethod stream-length ((s string-input-stream) &optional new) 4721 (unless new 4722 (let ((ioblock (basic-stream-ioblock s))) 4723 (%i- (string-input-stream-ioblock-end ioblock) 4724 (string-input-stream-ioblock-start ioblock))))) 4725 4720 4726 (defmethod stream-eofp ((s string-input-stream)) 4721 4727 (let* ((ioblock (basic-stream-ioblock s)) … … 6593 6599 (the fixnum (- (the fixnum (io-buffer-idx inbuf)) origin))))) 6594 6600 6601 (defmethod stream-length ((s vector-input-stream) &optional new) 6602 (unless new 6603 (let ((ioblock (basic-stream-ioblock s))) 6604 (%i- (io-buffer-limit (ioblock-inbuf ioblock)) 6605 (vector-stream-ioblock-displacement ioblock))))) 6606 6607 6595 6608 ; end of L1-streams.lisp
Note:
See TracChangeset
for help on using the changeset viewer.
