Skip to content
  • Emmanuele Bassi's avatar
    Conditionally use G_VALUE_COLLECT_INIT() macro · 26e22b2e
    Emmanuele Bassi authored
    GLib 2.24 (but starting from the 2.23.2 unstable release) added a new
    macro for collecting GValues from a va_list.
    
    The newly added G_VALUE_COLLECT_INIT() macro should be used in place
    of initializing the GValue and calling G_VALUE_COLLECT(), and improves
    the collection performances by avoiding multiple checks, free and
    initialization calls.
    26e22b2e