DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 
X Version 11 (Release 5)

XVaCreateNestedList(XS)


XVaCreateNestedList -- allocate a nested variable argument list

Syntax

   typedef void * XVaNestedList;
   

XVaNestedList XVaCreateNestedList(dummy, ...) int dummy;

Arguments


dummy
Unused argument (required by ANSI C).

...
Specifies the variable length argument list.

Description

The XVaCreateNestedList function allocates memory and copies its arguments into a single list pointer which may 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 when it is no longer needed.

See also

Xlib - C Language X Interface
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003