All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

switch-static-allocation Function

Summary

Controls whether objects are allocated in the static area.

Package

hcl

Signature

switch-static-allocation flag => previous-flag

Arguments
flag
A generalized boolean.
Values
previous-flag
A generalized boolean.
Description

The function switch-static-allocation controls whether subsequent allocation occurs in the static area or not.

If flag is non-nil, subsequent objects are allocated in the static area; if flag is nil, objects are allocated conventionally.

Objects in the static area are garbage-collected, but not moved.

switch-static-allocation returns the previous setting of flag.

You should avoid using this function.

See also

enlarge-static
in-static-area


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35