diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-17 11:56:46 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-17 11:56:46 +0000 |
commit | 5147b4c35451e6462f1954aece407dc9a825794b (patch) | |
tree | bd3eca8bb7896128e05722a18212281d95783959 /TAO/tao/Object.cpp | |
parent | 8021cad28052e097f38b36e4e436d8fe1a42d2ee (diff) | |
download | ATCD-5147b4c35451e6462f1954aece407dc9a825794b.tar.gz |
ChangeLogTag: Sun Sep 17 06:37:37 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Object.cpp')
-rw-r--r-- | TAO/tao/Object.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp index 5d8486d2f9e..280043e5771 100644 --- a/TAO/tao/Object.cpp +++ b/TAO/tao/Object.cpp @@ -266,6 +266,19 @@ CORBA::Object::_use_locate_requests (CORBA::Boolean use_it) #if (TAO_HAS_MINIMUM_CORBA == 0) +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; +} + // NON_EXISTENT ... send a simple call to the object, which will // either elicit a FALSE response or a OBJECT_NOT_EXIST exception. In // the latter case, return FALSE. |