copy

fun copy(): Checksum

Copies a #GChecksum. If @checksum has been closed, by calling g_checksum_get_string() or g_checksum_get_digest(), the copied checksum will be closed as well.

Return

the copy of the passed #GChecksum. Use g_checksum_free() when finished using it.

Since

2.16