NAME

XtVaCreateArgsList - dynamically allocate a varargs list

SYNTAX

XtVarArgsList XtVaCreateArgsList(XtPointer _u_n_u_s_e_d, ...);

ARGUMENTS

_u_n_u_s_e_d Must be specified as NULL.
_._._. Specifies a variable parameter list of resource name and value pairs.

DESCRIPTION

The _X_t_V_a_C_r_e_a_t_e_A_r_g_s_L_i_s_t function allocates memory and copies its arguments into a single list pointer, which may be used with _X_t_V_a_N_e_s_t_e_d_L_i_s_t. The end of both lists is identified by a _n_a_m_e entry containing NULL. Any entries of type _X_t_V_a_T_y_p_e_d_A_r_g are copied as specified without applying conversions. Data passed by reference (including Strings) are not copied, only the pointers themselves; the caller must ensure that the data remain valid for the lifetime of the created varargs list. The list should be freed using _X_t_F_r_e_e when no longer needed.

SEE ALSO


_X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s _- _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e