GString in GLib
- From: Anthony Graphics <agl sheba sequoiap com>
- To: gtk-list gnome org
- Subject: GString in GLib
- Date: Thu, 29 Nov 2001 12:50:03 -800 (PST)
Does anyone mind if I add something like
g_string_newa(const gchar *init);
That will create the string and its contents on stack.
I just hate having to deallocate GString on all exit paths out of the
function. And I would rather not use anything like C++ autoobject
(the project I'm modifying is written in C++).
] [Thread Prev