X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fdefs.lisp;h=77d79c9303bc25ffea5b8e25be760edc28356743;hb=1af3faa2b79125b774c2182cab841ed7ee555bed;hp=2de8e271a574cd59563ec5f0c8662bdc4045486c;hpb=b171183c7115b865b00662ff346061ecd5291ce4;p=sbcl.git diff --git a/src/pcl/defs.lisp b/src/pcl/defs.lisp index 2de8e27..77d79c9 100644 --- a/src/pcl/defs.lisp +++ b/src/pcl/defs.lisp @@ -306,7 +306,8 @@ ;; CMU CL code did. -- WHN 20000715 '(t instance funcallable-instance - function stream))) + function stream + file-stream string-stream))) sb-kernel::*built-in-classes*)))) (/noshow "done setting up SB-PCL::*BUILT-IN-CLASSES*") @@ -327,6 +328,12 @@ (defclass stream (instance) () (:metaclass built-in-class)) +(defclass file-stream (stream) () + (:metaclass built-in-class)) + +(defclass string-stream (stream) () + (:metaclass built-in-class)) + (defclass slot-object (t) () (:metaclass slot-class)) @@ -693,7 +700,11 @@ :initarg :method-combination :accessor generic-function-method-combination) (declarations + ;; KLUDGE: AMOP specifies :DECLARATIONS, while ANSI specifies + ;; :DECLARE. Allow either (but FIXME: maybe a note or a warning + ;; might be appropriate). :initarg :declarations + :initarg :declare :initform () :accessor generic-function-declarations) (arg-info