Re: Naked GString operations [was: Re: Some new GString functions - constructors]

2005-12-20 Thread Paul LeoNerd Evans
On Wed, Dec 21, 2005 at 12:07:14AM +, Paul LeoNerd Evans wrote: > > > void g_string_init(GString *str); > > > void g_string_fini(GString *str); Actually, it occurs to me. If we wanted to give certain future guarantees about GString, we could do something like the following: #define GSTR

Naked GString operations [was: Re: Some new GString functions - constructors]

2005-12-20 Thread Paul LeoNerd Evans
(Appologies for the pun in the subject; I couldn't help myself.. :) ) On Tue, Dec 20, 2005 at 03:52:28PM -0800, Alan M. Evans wrote: > > void g_string_init(GString *str); > > void g_string_fini(GString *str); > > > > Which would do most of the work of g_string_new() and g_string_free() > > re