summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Object.cpp')
-rw-r--r--TAO/tao/Object.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index 1cedd0e8634..54693e5090a 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -232,6 +232,19 @@ CORBA::Object::_use_locate_requests (CORBA::Boolean use_it)
return;
}
+CORBA::Boolean
+CORBA::is_nil (CORBA::Object_ptr obj)
+{
+ if (obj == 0)
+ return 1;
+
+ // To accomodate new definitions
+ if (obj->_stubobj ())
+ return obj->_stubobj ()->orb_core ()->object_is_nil (obj);
+
+ return 0;
+}
+
#if (TAO_HAS_MINIMUM_CORBA == 0)