Function Macro

GLibVA_COPY

Declaration [src]

#define G_VA_COPY (
  ap1,
  ap2
)

Description [src]

Portable way to copy va_list variables.

In order to use this function, you must include string.h yourself, because this macro may use memmove() and GLib does not include string.h for you.

Each invocation of G_VA_COPY (ap1, ap2) must be matched with a corresponding va_end (ap1) call in the same function.

Parameters

ap1 -
 

The va_list variable to place a copy of ap2 in.

ap2 -
 

A va_list.