Changes between Version 5 and Version 6 of GRefPtr
- Timestamp:
- Jan 20, 2014 6:02:43 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GRefPtr
v5 v6 3 3 = Reference counting with `GRefPtr<T>` = 4 4 5 In the G Lib/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()`).5 In 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()`). 6 6 7 7 Sources: