On Tue, Jun 09, 2020 at 12:09:54 +0100, Alex Bennée wrote: > How about a g_intern_string() as a non-freeable const char that can also > be treated as canonical?
I like it. Didn't know about g_intern_string (I see it's implemented as an append-only hash table protected by a lock). Cheers, Emilio