Re: Some new GString functions - constructors
- From: Øyvind Kolås <pippin gimp org>
- To: Paul LeoNerd Evans <leonerd leonerd org uk>
- Cc: gtk-devel-list gnome org
- Subject: Re: Some new GString functions - constructors
- Date: Wed, 21 Dec 2005 01:19:59 +0100
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]