summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-11 16:50:25 -0700
committerBrian Paul <brianp@vmware.com>2009-12-11 16:50:25 -0700
commit4430a05a3a65c411996a923d1051bb7879204a53 (patch)
treec1525baac413af1cad530c7a9c3c86c9a079a110 /src/gallium/include
parent9c01cf425fac3853c65bd732270a015106766865 (diff)
gallium: added comment for pipe_reference() return value
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_refcnt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_refcnt.h b/src/gallium/include/pipe/p_refcnt.h
index e252f55900..c1c7415e02 100644
--- a/src/gallium/include/pipe/p_refcnt.h
+++ b/src/gallium/include/pipe/p_refcnt.h
@@ -62,6 +62,7 @@ pipe_is_referenced(struct pipe_reference *reference)
* Update reference counting.
* The old thing pointed to, if any, will be unreferenced.
* Both 'ptr' and 'reference' may be NULL.
+ * \return TRUE if the object's refcount hits zero and should be destroyed.
*/
static INLINE boolean
pipe_reference(struct pipe_reference *ptr, struct pipe_reference *reference)