X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-alieneval.lisp;h=ff91742582974e2cefae206d1684775266016c5b;hb=62c09fabe8aa8f1bd75bf4db4c20e195a1b6bc1d;hp=cb061ee8bb434569cb9c111fbdc5a0f6d620eb23;hpb=ca20672bfac54095ae593d1f7da0eccbc0bf6257;p=sbcl.git diff --git a/src/code/target-alieneval.lisp b/src/code/target-alieneval.lisp index cb061ee..ff91742 100644 --- a/src/code/target-alieneval.lisp +++ b/src/code/target-alieneval.lisp @@ -178,9 +178,10 @@ (def!method print-object ((value alien-value) stream) (print-unreadable-object (value stream) (format stream - "~S :SAP #X~8,'0X" + "~S ~S #X~8,'0X ~S ~S" 'alien-value - (sap-int (alien-value-sap value))))) + :sap (sap-int (alien-value-sap value)) + :type (unparse-alien-type (alien-value-type value))))) #!-sb-fluid (declaim (inline null-alien)) (defun null-alien (x) @@ -678,7 +679,7 @@ ;; alien values) both messy to do by hand and very important ;; for performance of later code which uses the return value. (declaim (ftype (function ,(lisp-arg-types) - (values ,@(lisp-result-types))) + (values ,@(lisp-result-types) &optional)) ,lisp-name)) (defun ,lisp-name ,(lisp-args) ,@(docs)