1. NAME

XVaCreateNestedList - allocate a nested variable argument list

2. SYNTAX

typedef void * XVaNestedList; XVaNestedList XVaCreateNestedList(int dummy, ...);

3. ARGUMENTS

dummy 1i Specifies an unused argument (required by ANSI C).

... 1i Specifies the variable length argument list\*(Al.

4. DESCRIPTION

The .ZN XVaCreateNestedList function allocates memory and copies its arguments into a single list pointer, which may be used as a value for arguments requiring a list value. Any entries are copied as specified. Data passed by reference is not copied; the caller must ensure data remains valid for the lifetime of the nested list. The list should be freed using .ZN XFree when it is no longer needed.

5. SEE ALSO

\*(xL