[webkit-dev] Making GRefPtr more general

Martin Robinson mrobinson at webkit.org
Wed Aug 25 10:57:09 PDT 2010


On Tue, Aug 24, 2010 at 5:31 PM, Darin Adler <darin at apple.com> wrote:
> If overloading can be used to determine how to do the
> "take a ref" and "release a ref" functions, then many different
> subsystems can share a single PassRefPtr/RefPtr class.

One complication in the GObject case, is that the argument type for
g_object_ref(...)
and g_object_unref(..) is void*. Perhaps there is some way to engineer
around this.

Martin


More information about the webkit-dev mailing list