Returns a canonical representation for string. Interned strings
can be compared for equality by comparing the pointers, instead of
using strcmp(). g_intern_static_string() does not copy the string,
therefore string must not be freed or modified.
This function must not be used before library constructors have finished
running. In particular, this means it cannot be used to initialize global
variables in C++.
Returns a canonical representation for
string. Interned strings can be compared for equality by comparing the pointers, instead of usingstrcmp().g_intern_static_string()does not copy the string, thereforestringmust not be freed or modified.This function must not be used before library constructors have finished running. In particular, this means it cannot be used to initialize global variables in C++.