From 3c903dbd77e4eed70a187c86b7ceea92ff50e0e5 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 11 May 2007 02:14:54 +0000 Subject: [PATCH] expose get_ref_count --- panda/src/express/pointerToArray.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/express/pointerToArray.h b/panda/src/express/pointerToArray.h index a25dbd46d8..abf1fee650 100644 --- a/panda/src/express/pointerToArray.h +++ b/panda/src/express/pointerToArray.h @@ -118,6 +118,8 @@ PUBLISHED: INLINE void set_data(const string &data); INLINE string get_subdata(size_type n, size_type count) const; INLINE void set_subdata(size_type n, size_type count, const string &data); + INLINE int get_ref_count() const; + INLINE int get_node_ref_count() const; #else // CPPPARSER // This is the actual, complete interface. @@ -251,6 +253,8 @@ PUBLISHED: INLINE const Element &get_element(size_type n) const; INLINE string get_data() const; INLINE string get_subdata(size_type n, size_type count) const; + INLINE int get_ref_count() const; + INLINE int get_node_ref_count() const; #else // CPPPARSER // This is the actual, complete interface.