XVaCreateNestedList()

NAME

XVaCreateNestedList() - allocate a nested variable argument list

SYNOPSIS

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

ARGUMENTS

dummy
Unused argument (required by ANSI C).
...
Specifies the variable length argument list.

DESCRIPTION

The XVaCreateNestedList(3) function allocates memory and copies its arguments into a single list pointer that can be used as 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 XFree(3) when it is no longer needed.

SEE ALSO

Xlib