]> sigrok.org Git - libsigrok.git/commitdiff
session: address deprecation of g_memdup(), prepare use of g_memdup2()
authorGerhard Sittig <redacted>
Wed, 22 Dec 2021 11:36:35 +0000 (12:36 +0100)
committerGerhard Sittig <redacted>
Sat, 8 Jan 2022 09:13:21 +0000 (10:13 +0100)
The g_memdup() routine was deprecated and (very) soon will become
obsolete. Use g_memdup2() when available, which is preferred for its
use of proper size data types.

This is inspired by pulseview commit cf0109112932 which references the
https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
article.


No differences found