diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-04 21:25:40 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-04 21:25:40 +0000 |
commit | 7e07ebc30608809dab5a5f11dcab9b8c32abdbc9 (patch) | |
tree | b59f70927804a4f16016ba0db5a3e2e8745191ad /TAO/tao/NVList.cpp | |
parent | af5505b3b4da87a33407b0effd392605c1d91330 (diff) | |
download | ATCD-7e07ebc30608809dab5a5f11dcab9b8c32abdbc9.tar.gz |
Unlined a bunch of methods in CORBA namespace.
Diffstat (limited to 'TAO/tao/NVList.cpp')
-rw-r--r-- | TAO/tao/NVList.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tao/NVList.cpp b/TAO/tao/NVList.cpp index 36306a455a2..c09e062b13f 100644 --- a/TAO/tao/NVList.cpp +++ b/TAO/tao/NVList.cpp @@ -18,6 +18,19 @@ ACE_RCSID(tao, NVList, "$Id$") // Reference counting for DII Request object +void +CORBA::release (CORBA::NamedValue_ptr nv) +{ + if (nv) + nv->_decr_refcnt (); +} + +CORBA::Boolean +CORBA::is_nil (CORBA::NamedValue_ptr nv) +{ + return nv == 0; +} + CORBA::ULong CORBA_NamedValue::_incr_refcnt (void) { @@ -51,6 +64,19 @@ CORBA_NamedValue::~CORBA_NamedValue (void) // **************************************************************** +void +CORBA::release (CORBA::NVList_ptr nvl) +{ + if (nvl) + nvl->_decr_refcnt (); +} + +CORBA::Boolean +CORBA::is_nil (CORBA::NVList_ptr nvl) +{ + return (CORBA::Boolean) (nvl == 0); +} + CORBA::ULong CORBA_NVList::_incr_refcnt (void) { |