Re: Some new GString functions - constructors



On 12/20/05, Paul LeoNerd Evans <leonerd leonerd org uk> wrote:
> * g_string_clone() is a convenient wrapper to take a copy of an
>   existing GString;
>
>     g_string_clone(s)  ==   g_string_new(s->str)
>
>   Except it returns NULL if s == NULL.

At least in my sources, and where they draw inspiration from there is
a larger precedence for the suffix _dup, rather than _clone.

/Øyvind K.

--
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]