/[cmucl]/src/pcl/fixup.lisp
ViewVC logotype

Contents of /src/pcl/fixup.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations)
Sat Mar 29 14:00:50 2003 UTC (11 years ago) by gerd
Branch: MAIN
Changes since 1.9: +6 -0 lines
	* pcl/fixup.lisp (print-object) <ctor>: New method.
1 wlott 1.1 ;;;-*-Mode:LISP; Package:(PCL LISP 1000); Base:10; Syntax:Common-lisp -*-
2     ;;;
3     ;;; *************************************************************************
4     ;;; Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990 Xerox Corporation.
5     ;;; All rights reserved.
6     ;;;
7     ;;; Use and copying of this software and preparation of derivative works
8     ;;; based upon this software are permitted. Any distribution of this
9     ;;; software or derivative works must comply with all applicable United
10     ;;; States export control laws.
11     ;;;
12     ;;; This software is made available AS IS, and Xerox Corporation makes no
13     ;;; warranty about the software, its performance or its conformity to any
14     ;;; specification.
15     ;;;
16     ;;; Any person obtaining a copy of this software is requested to send their
17     ;;; name and post office or electronic mail address to:
18     ;;; CommonLoops Coordinator
19     ;;; Xerox PARC
20     ;;; 3333 Coyote Hill Rd.
21     ;;; Palo Alto, CA 94304
22     ;;; (or send Arpanet mail to CommonLoops-Coordinator.pa@Xerox.arpa)
23     ;;;
24     ;;; Suggestions, comments and requests for improvements are also welcome.
25     ;;; *************************************************************************
26    
27 phg 1.6 (in-package :pcl)
28 wlott 1.1
29 gerd 1.8 #-loadable-pcl
30     (progn
31     (/show "Fixing generic functions")
32     (fix-early-generic-functions)
33     (/show "PCL boot state COMPLETE")
34     (setq *boot-state* 'complete))
35 wlott 1.1
36 gerd 1.9 (/show "Computing standard slot locations")
37     (compute-standard-slot-locations)
38    
39 wlott 1.1 (defun print-std-instance (instance stream depth)
40     (declare (ignore depth))
41     (print-object instance stream))
42    
43 gerd 1.10 (defmethod print-object ((ctor ctor) stream)
44     (print-unreadable-object (ctor stream :type t :identity t)
45     (format stream "~s ~s ~s"
46     (ctor-class-name ctor)
47     (ctor-initargs ctor)
48     (ctor-state ctor))))

  ViewVC Help
Powered by ViewVC 1.1.5