Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XG.3D-CALL-HOOK-FUNCTIONS

source files: [xc]thl.[ch]

SYNTAX

(XG.3D-CALL-HOOK-FUNCTIONS <hook>)

DESCRIPTION

This is the standard Skandha4 utility for executing a list of hooks. The most convenient calling format is often

(XG.3D-CALL-HOOK-FUNCTIONS 'some-hook)

because this avoids having to test to see if the hook variable is bound.

XG.3D-CALL-HOOK-FUNCTIONS takes the value of <hook> if <hook> is a symbol. If that value is unbound or NIL, XG.3D-CALL-HOOK-FUNCTIONS silently returns. If that value is a cons cell, XG.3D-CALL-HOOK-FUNCTIONS assumes it has been given a list of closures/lambdas/functions/subrs of no arguments, and attempts to call them all in sequence. Otherwise, XG.3D-CALL-HOOK-FUNCTIONS assumes it was given a single such function of no arguments, and attempts to call it.

The return value is always NIL.


Go to the first, previous, next, last section, table of contents.