Re: Refcounting craziness
- From: Havoc Pennington <hp redhat com>
- To: Michael Meeks <michael ximian com>
- Cc: Owen Taylor <otaylor redhat com>, Miguel de Icaza <miguel ximian com>, gnome-components-list gnome org
- Subject: Re: Refcounting craziness
- Date: 24 Jan 2001 10:48:48 -0500
Michael Meeks <michael ximian com> writes:
> Yes; I am interested, however bear in mind that we are inside an
> API freeze, and that these problems are not terminal. Handing and
> swallowing of references, internal reference accounting and various other
> historical strangenesses may be viewed as features. In many cases they
> reduce user code complexity, and line count, but if you can point at any
> specific horrors I'd be interested.
>
Well, the specific horror pointed out was a roundabout way of writing:
while (object->ref_count)
unref (object);
which completely breaks language bindings, if you agree with no other
reason that it's a bug. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]