diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-07 20:21:06 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-07 20:21:06 +0000 |
commit | f59d6ef3692ee935e1d75b0dfdeb5b078e8744d5 (patch) | |
tree | d5454a70b6ad09577f9c5d40d153cda0b8f51d0f /TAO/tao/Object.cpp | |
parent | 9f075fc05c097253ee038608124940cb087afa6b (diff) | |
download | ATCD-f59d6ef3692ee935e1d75b0dfdeb5b078e8744d5.tar.gz |
Undo
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 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) |