summaryrefslogtreecommitdiff
path: root/TAO/tao/Environment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Environment.cpp')
-rw-r--r--TAO/tao/Environment.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/Environment.cpp b/TAO/tao/Environment.cpp
index 6240f4e93b3..8388202ff1b 100644
--- a/TAO/tao/Environment.cpp
+++ b/TAO/tao/Environment.cpp
@@ -10,6 +10,19 @@
ACE_RCSID(tao, Environment, "$Id$")
+void
+CORBA::release (CORBA::Environment_ptr env)
+{
+ if (env)
+ env->_decr_refcnt ();
+}
+
+CORBA::Boolean
+CORBA::is_nil (CORBA::Environment_ptr env)
+{
+ return env == 0;
+}
+
#if 0
CORBA_Environment::CORBA_Environment (void)
: exception_ (0),