1.0.29.49: silence compiler note for type-checks from MAKE-INSTANCE in safe code
[sbcl/pkhuong.git] / src / pcl / slot-name.lisp
blobb7150c28e40224ceb8e469824b7c282a84b81f91
1 ;;;; This software is part of the SBCL system. See the README file for
2 ;;;; more information.
4 ;;;; This software is derived from software originally released by Xerox
5 ;;;; Corporation. Copyright and release statements follow. Later modifications
6 ;;;; to the software are in the public domain and are provided with
7 ;;;; absolutely no warranty. See the COPYING and CREDITS files for more
8 ;;;; information.
10 ;;;; copyright information from original PCL sources:
11 ;;;;
12 ;;;; Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990 Xerox Corporation.
13 ;;;; All rights reserved.
14 ;;;;
15 ;;;; Use and copying of this software and preparation of derivative works based
16 ;;;; upon this software are permitted. Any distribution of this software or
17 ;;;; derivative works must comply with all applicable United States export
18 ;;;; control laws.
19 ;;;;
20 ;;;; This software is made available AS IS, and Xerox Corporation makes no
21 ;;;; warranty about the software, its performance or its conformity to any
22 ;;;; specification.
24 (in-package "SB-PCL")
26 (defun slot-reader-name (slot-name)
27 (list 'slot-accessor :global slot-name 'reader))
29 (defun slot-writer-name (slot-name)
30 (list 'slot-accessor :global slot-name 'writer))
32 (defun slot-boundp-name (slot-name)
33 (list 'slot-accessor :global slot-name 'boundp))