Logo Search packages:      
Sourcecode: inkscape version File versions

SPObject* sp_object_href ( SPObject object,
gpointer   
)

Increase weak refcount.

Hrefcount is used for weak references, for example, to determine whether any graphical element references a certain gradient node.

Parameters:
owner Ignored.
Returns:
object, NULL is error
Precondition:
object points to real object

Definition at line 309 of file sp-object.cpp.

{
    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;
}


Generated by  Doxygen 1.6.0   Back to index