mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
1a95ce84ed
This adds support to be able to explicitely stored interned strings into G_TYPE_STRING GValue. This is useful for cases where the user: * *knows* the string to be stored in the GValue is canonical * Wants to know whther the string stored is canonical This allows: * zero-cost GValue copy (the content is guaranteed to be unique and exist throughout the process life) * zero-cost string equality checks (if both string GValue are interned, you just need to check the pointers for equality or not, instead of doing a strcmp). Fixes #2109 |
||
---|---|---|
.. | ||
.gitignore | ||
autoptr.c | ||
binding.c | ||
boxed.c | ||
closure-refcount.c | ||
closure.c | ||
dynamictests.c | ||
enums.c | ||
flags.c | ||
genmarshal.py | ||
ifaceproperties.c | ||
marshalers.list | ||
meson.build | ||
mkenums.py | ||
object.c | ||
param.c | ||
private.c | ||
properties.c | ||
qdata.c | ||
reference.c | ||
signal-handler.c | ||
signals.c | ||
taptestrunner.py | ||
testcommon.h | ||
testing.c | ||
threadtests.c | ||
type.c | ||
value.c |