Christian Hergert 49ae9b490d strfuncs: add g_set_str()
This is like our other suite of g_set_*() based APIs to simplify and
improve correctness of setters for fields, properties, and more.

This implementation specifically handles setting string values that may
point to an offset within the current string by copying before free.

strcmp() is used directly (as opposed to g_strcmp0() due to it being in
gtestutils.h as well as to increase the chance that the compiler will
hoist the implementation.

Fixes #2747
2022-10-14 16:24:41 +01:00
..
2022-10-14 16:24:41 +01:00
2022-05-19 12:52:26 +01:00
2021-01-20 16:05:36 +01:00
2022-06-21 16:16:10 +01:00
2022-06-14 15:19:32 +01:00