src/core/object.h
changeset 3394 1680d5004ee8
parent 3190 51fe9001a679
child 3396 0d83aa14b65d
--- a/src/core/object.h	Tue Jul 08 10:12:38 2008 -0700
+++ b/src/core/object.h	Tue Jul 08 10:16:53 2008 -0700
@@ -112,6 +112,12 @@
    * dangerous.
    */
   inline void Unref (void) const;
+
+  /**
+   * Get the reference count of the object.  Normally not needed; for language bindings.
+   */
+  uint32_t GetReferenceCount (void) const;
+
   /**
    * \returns a pointer to the requested interface or zero if it could not be found.
    */