Changeset 539
- Timestamp:
- Feb 15, 2004, 8:16:15 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/macros.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/macros.lisp
r496 r539 1256 1256 ,@(if index `((setf ,index (string-input-stream-index ,var)))))))) 1257 1257 1258 (defmacro with-output-to-string ((var &optional string &key (element-type 'base-char ))1258 (defmacro with-output-to-string ((var &optional string &key (element-type 'base-char element-type-p)) 1259 1259 &body body 1260 1260 &environment env) … … 1262 1262 `(let ((,var ,(if string 1263 1263 `(%make-string-output-stream ,string) 1264 `(make-string-output-stream :element-type ',element-type))))1264 `(make-string-output-stream :element-type ,(if element-type-p element-type `'base-char))))) 1265 1265 ,@decls 1266 1266 (unwind-protect
Note:
See TracChangeset
for help on using the changeset viewer.
