aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/source/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/pool/source/pool.h')
-rw-r--r--externals/grill/pool/source/pool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/grill/pool/source/pool.h b/externals/grill/pool/source/pool.h
index 5d251cd8..f69ad2ea 100644
--- a/externals/grill/pool/source/pool.h
+++ b/externals/grill/pool/source/pool.h
@@ -2,7 +2,7 @@
pool - hierarchical storage object for PD and Max/MSP
-Copyright (c) 2002-2005 Thomas Grill
+Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -128,6 +128,8 @@ public:
pooldata(const S *s = NULL,I vcnt = 0,I dcnt = 0);
~pooldata();
+ bool Private() const { return sym == NULL; }
+
V Push() { ++refs; }
BL Pop() { return --refs > 0; }