Changes between Version 5 and Version 6 of GRefPtr


Ignore:
Timestamp:
Jan 20, 2014 6:02:43 AM (10 years ago)
Author:
Carlos Garcia Campos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GRefPtr

    v5 v6  
    33= Reference counting with `GRefPtr<T>` =
    44
    5 In the GLib/GObject/GTK+ object model, instances are reference-counted. To ease handling those in !WebKitGTK+ code, the `GRefPtr<T>` template is provided. It keeps a pointer to a reference-counted and takes care of properly increasing and decreasing the reference counts for object being held. Helper functions are provided as well (e.g. `adoptGRef()`).
     5In the GObject object model, instances are reference-counted. To ease handling those in !WebKitGTK+ code, the `GRefPtr<T>` template is provided. It keeps a pointer to a reference-counted and takes care of properly increasing and decreasing the reference counts for object being held. Helper functions are provided as well (e.g. `adoptGRef()`).
    66
    77Sources: