X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdeftypes-for-target.lisp;h=6c9ae1030da065a8bbfdd25b69e313141559a49e;hb=25e76ec2b1083ac6a4bba42af7ad7b5a8239f2b8;hp=50bee4691c9a553b2b15d652bbaeee91f4d1e6b2;hpb=a8fa26a6e9804d3548f5bca9361a91345a689099;p=sbcl.git diff --git a/src/code/deftypes-for-target.lisp b/src/code/deftypes-for-target.lisp index 50bee46..6c9ae10 100644 --- a/src/code/deftypes-for-target.lisp +++ b/src/code/deftypes-for-target.lisp @@ -98,7 +98,8 @@ (sb!xc:deftype simple-bit-vector (&optional size) `(simple-array bit (,size))) -;;;; some private types that we use in defining the standard functions +;;;; some private types that we use in defining the standard functions, +;;;; or implementing declarations in standard compiler transforms ;;; a type specifier (sb!xc:deftype type-specifier () '(or list symbol sb!xc:class)) @@ -121,7 +122,7 @@ ;;; legal args to pathname functions (sb!xc:deftype pathname-designator () - '(or string pathname stream)) + '(or string pathname #+sb-xc-host stream #-sb-xc-host file-stream)) (sb!xc:deftype logical-host-designator () '(or host string)) @@ -139,6 +140,10 @@ ;;; the :END arg to a sequence (sb!xc:deftype sequence-end () '(or null index)) +;;; the :COUNT arg to a sequence +(sb!xc:deftype sequence-count () + `(or null integer)) + ;;; a valid argument to a stream function ;;; ;;; FIXME: should probably be STREAM-DESIGNATOR, after the term