set-funcallable-instance-function

Function

Syntax

set-funcallable-instance-function
funcallable-instance function

Arguments

The funcallable-instance argument is a funcallable instance (it must have been returned by allocate-instance (funcallable-standard-class)).

The function argument is a function.

Values

The value returned by this function is unspecified.

Purpose

This function is called to set or to change the function of a funcallable instance. After set-funcallable-instance-function is called, any subsequent calls to funcallable-instance will run the new function.