Function

GLib-2.0GLibstrdupv

  • Copies an array of strings. The copy is a deep copy; each string is also copied.

    If called on a NULL value, g_strdupv() simply returns NULL.

    Parameters

    • Optionalstr_array: string[]

      an array of strings to copy

    Returns string[]

    a newly-allocated array of strings. Use GLib.strfreev to free it.