Re: glib' GError.
- From: Martin Baulig <martin home-of-linux org>
- To: Havoc Pennington <hp redhat com>
- Cc: Mathieu Lacage <mathieu eazel com>, gtk-devel-list gnome org
- Subject: Re: glib' GError.
- Date: 05 Dec 2000 13:30:22 +0100
Havoc Pennington <hp redhat com> writes:
> The problem with the data is that errors become uncopiable. Unless we
> have a CopyFunc in addition to the DestroyNotify. I'm not sure what to
> do about that. I suppose the data field is enough of a
> crufty/rarely-used thing that we could require the copy func. Though
> we are doubling the size of GError here.
Hmm, what about this GBoxed thing; isn't this exactly what we want here,
a data field with a copy and a free function ?
--
Martin Baulig
martin gnome org (private)
baulig suse de (work)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]