source files: [xc]thl.[ch]
This is the standard Skandha4 utility for executing a list of hooks. The most convenient calling format is often
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.