diff --git a/src/sp-object.h b/src/sp-object.h
index e853de097907055d0623422677b10fb8de7212d1..4879e5bea0fe3e7d71c4db7e2ff40f737dd7b79e 100644 (file)
--- a/src/sp-object.h
+++ b/src/sp-object.h
}
}
+ /** @brief Check if object is referenced by any other object.
+ */
+ bool isReferenced() { return ( _total_hrefcount > 0 ); }
+
/** @brief Deletes an object.
*
* Detaches the object's repr, and optionally sends notification that the object has been