glib/docs/reference
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
..
gio docs: Add 2.76 release series documentation pages to the build 2022-10-14 16:03:29 +01:00
glib strfuncs: add g_set_str() 2022-10-14 16:24:41 +01:00
gobject docs: Add 2.76 release series documentation pages to the build 2022-10-14 16:03:29 +01:00
.gitignore .gitignore manpages (*.1) 2010-05-24 23:21:01 -04:00
AUTHORS Initial revision 1999-08-16 17:58:30 +00:00
COPYING Initial revision 1999-08-16 17:58:30 +00:00
meson.build Fix symbol visibility macros on Windows 2022-10-13 20:53:56 -04:00
NEWS Initial revision 1999-08-16 17:58:30 +00:00