Skip to main content

shallow_inherit_list

Discworld driver help

shallow_inherit_list

Name

shallow_inherit_list() - get a list of parents of an object

Synopsis

string *shallow_inherit_list( object obj );

Description

Returns an array of filenames of objects inherited by `obj'. Only directly inherited files are returned. E.g. if A inherits B which inherits C, inherit_list(A) will return an array with B, but not C.

See also

deep_inherit_list(), inherit_list(), inherits()