Skip to main content

all_previous_objects

Discworld driver help

all_previous_objects

Name

all_previous_objects() - returns an array of objects that called the
current function

Synopsis

object *all_previous_objects( void );

Description

Returns an array of objects that called the current function. Note that local function calls do not set previous_object() to the current object, but leave it unchanged.

The first element of the array is previous_object(), followed by previous_object(1), etc...

See also

call_other(), call_out(), origin(), previous_object()