Browse Source

expose get_ref_count

David Rose 18 years ago
parent
commit
3c903dbd77
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/express/pointerToArray.h

+ 4 - 0
panda/src/express/pointerToArray.h

@@ -118,6 +118,8 @@ PUBLISHED:
   INLINE void set_data(const string &data);
   INLINE void set_data(const string &data);
   INLINE string get_subdata(size_type n, size_type count) const;
   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 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
 #else  // CPPPARSER
   // This is the actual, complete interface.
   // This is the actual, complete interface.
@@ -251,6 +253,8 @@ PUBLISHED:
   INLINE const Element &get_element(size_type n) const;
   INLINE const Element &get_element(size_type n) const;
   INLINE string get_data() const;
   INLINE string get_data() const;
   INLINE string get_subdata(size_type n, size_type count) 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
 #else  // CPPPARSER
   // This is the actual, complete interface.
   // This is the actual, complete interface.