Merge branch 'va_copy-docs' into 'main'

Docs: Mention that G_VA_COPY() must be followed by `va_end()`

See merge request GNOME/glib!2224
This commit is contained in:
Philip Withnall 2021-08-16 20:05:59 +00:00
commit 96763eca3f

View File

@ -1880,6 +1880,9 @@
* 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.
*/
/**