X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ffndb.lisp;h=e8b3b32e2577d23b1bcb71a3461a218be0a1311d;hb=cd13034f9415f64cdaa05893a4ac5ff1e95c97bd;hp=53f247c9b7961ced811e1ec487df0ab840aaf565;hpb=6053e7f804b430144bb09e2d107ad4ab3fb97db4;p=sbcl.git diff --git a/src/compiler/fndb.lisp b/src/compiler/fndb.lisp index 53f247c..e8b3b32 100644 --- a/src/compiler/fndb.lisp +++ b/src/compiler/fndb.lisp @@ -962,6 +962,41 @@ (character character &optional (or readtable null)) (or callable null) ()) +(defknown copy-pprint-dispatch + (&optional (or sb!pretty:pprint-dispatch-table null)) + sb!pretty:pprint-dispatch-table + ()) +(defknown pprint-dispatch + (t &optional (or sb!pretty:pprint-dispatch-table null)) + (values callable boolean) + ()) +(defknown (pprint-fill pprint-linear) + (streamlike t &optional t t) + null + ()) +(defknown pprint-tabular + (streamlike t &optional t t unsigned-byte) + null + ()) +(defknown pprint-indent + ((member :block :current) real &optional streamlike) + null + ()) +(defknown pprint-newline + ((member :linear :fill :miser :mandatory) &optional streamlike) + null + ()) +(defknown pprint-tab + ((member :line :section :line-relative :section-relative) + unsigned-byte unsigned-byte &optional streamlike) + null + ()) +(defknown set-pprint-dispatch + (type-specifier (or null callable) + &optional real sb!pretty:pprint-dispatch-table) + null + ()) + ;;; may return any type due to eof-value... (defknown (read read-preserving-whitespace read-char-no-hang read-char) (&optional streamlike t t t) t (explicit-check)) @@ -1422,10 +1457,10 @@ ;;;; ALIEN and call-out-to-C stuff -;;; 'call' attribute because we store the arg on the stack, which is in +;;; 'unsafe' attribute because we store the arg on the stack, which is in ;;; some sense 'passing it upwards' -(defknown sb!vm::push-word-on-c-stack (system-area-pointer) (values) (call)) -(defknown sb!vm::pop-words-from-c-stack (index) (values) (call)) +(defknown sb!vm::push-word-on-c-stack (system-area-pointer) (values) (unsafe)) +(defknown sb!vm::pop-words-from-c-stack (index) (values) ()) ;;;; miscellaneous internal utilities