summaryrefslogtreecommitdiff
path: root/TAO/tao/Environment.i
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-12 20:39:37 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-12 20:39:37 +0000
commitf57052fe595544e95cd331752a2e158548af033f (patch)
treeb8221e1da2aae0e5a74cf2b03636e8ccfc8c0f99 /TAO/tao/Environment.i
parentfa1bc728579a5ee79aaeacc2fa0ab24272974c1b (diff)
downloadATCD-f57052fe595544e95cd331752a2e158548af033f.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/tao/Environment.i')
-rw-r--r--TAO/tao/Environment.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/Environment.i b/TAO/tao/Environment.i
index 6d318b17359..83b618b4413 100644
--- a/TAO/tao/Environment.i
+++ b/TAO/tao/Environment.i
@@ -7,6 +7,19 @@ CORBA_Environment::exception (void) const
return this->exception_;
}
+ACE_INLINE void
+CORBA::release (CORBA::Environment_ptr env)
+{
+ if (env)
+ env->_decr_refcnt ();
+}
+
+ACE_INLINE CORBA::Boolean
+CORBA::is_nil (CORBA::Environment_ptr env)
+{
+ return env == 0;
+}
+
// *************************************************************
// Inline operations for class CORBA_Environment_var
// *************************************************************