summaryrefslogtreecommitdiff
path: root/ace/Message_Block.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-02 09:05:39 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-02 09:05:39 +0000
commit1c44106287219a05ddbff09df4574b90777040ae (patch)
tree1d371fe6828480e7cecdcb75a8887a2b4bb83f53 /ace/Message_Block.h
parentfbcfcdb6ff9975a9e2152be0a5dc7e28a32635fc (diff)
downloadATCD-1c44106287219a05ddbff09df4574b90777040ae.tar.gz
foo
Diffstat (limited to 'ace/Message_Block.h')
-rw-r--r--ace/Message_Block.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Message_Block.h b/ace/Message_Block.h
index 30852f4dc8c..ba1a760b2d1 100644
--- a/ace/Message_Block.h
+++ b/ace/Message_Block.h
@@ -165,6 +165,12 @@ public:
// <this> and return 0. Behavior is undefined if reference count <
// 0.
+ static ACE_Message_Block *release (ACE_Message_Block *mb);
+ // This behaves like the non-static method <release>, except that it
+ // checks if <mb> is 0. This is similar to <CORBA::release>, which
+ // is useful if you want to eliminate lots of checks for NULL
+ // pointers before calling <release> on them. Returns <mb>.
+
// = Operations on Message data
int copy (const char *buf, size_t n);