LispWorks User Guide and Reference Manual > 25 The CLOS Package

NextPrevUpTopContentsIndex

set-make-instance-argument-checking

Function
Summary

Switches initarg checking in make-instance on or off.

Package

clos

Signature

set-make-instance-initarg-checking on => on

Arguments

on

A boolean.

Description

The function set-make-instance-initarg-checking provides control over whether make-instance checks its initialization arguments.

Calling set-make-instance-initarg-checking with on true, causes make-instance to check the initargs. This is the initial state of LispWorks.

Initarg checking is switched off globally and dynamically by
(set-make-instance-initarg-checking nil) .

Notes

The effect of calling set-make-instance-initarg-checking can be overridden in a runtime by the deliver argument :make-instance-keyword-check . See the LispWorks Delivery User Guide for details.

See also

class-extra-initargs
compute-class-potential-initargs
make-instance


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex