projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c01cf4
)
gallium: added comment for pipe_reference() return value
author
Brian Paul
<brianp@vmware.com>
Fri, 11 Dec 2009 23:50:25 +0000
(16:50 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 11 Dec 2009 23:50:25 +0000
(16:50 -0700)
src/gallium/include/pipe/p_refcnt.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_refcnt.h
b/src/gallium/include/pipe/p_refcnt.h
index e252f5590065a1c5920a9b1fe4ca3cb589d3e5d5..c1c7415e023f974370b09e95ab67d129e952a63d 100644
(file)
--- 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)