Name
XtMergeArgLists — merge two ArgList structures.
Synopsis
ArgList XtMergeArgLists(args1, num_args1, args2, num_args2)
ArgList args1;
Cardinal num_args1;
ArgList args2;
Cardinal num_args2;
Arguments
args1Specifies the first ArgList.
num_args1Specifies the number of arguments in the first argument list.
args2Specifies the second ArgList.
num_args2Specifies the number of arguments in the second argument list.
Description
XtMergeArgLists allocates a new ArgList large enough to hold args1 and args2 and copies both into it. It does not check for duplicate entries.
When the new ArgList is no longer needed, the application program can return it to the free pool with XtFree.
Structures
Arg is defined as follows in <X11/Intrinsic.h>:
typedef struct {
String name;
XtArgVal value;
} Arg, ∗ArgList;