Increase weak refcount. Hrefcount is used for weak references, for example, to determine whether any graphical element references a certain gradient node.
Definition at line 302 of file sp-object.cpp. Referenced by sp_style_merge_ifilter(), sp_style_read_ifilter(), and sp_style_read_ipaint(). { g_return_val_if_fail(object != NULL, NULL); g_return_val_if_fail(SP_IS_OBJECT(object), NULL); object->hrefcount++; object->_updateTotalHRefCount(1); return object; }
|