diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
commit | b11770b30f8b58d20fe2d61846bfa3fc5354ee7e (patch) | |
tree | 6939cf1ed0a80ce8a3224d33f3d23c0e1b9a517f /TAO/tao/CurrentC.cpp | |
parent | 8fd5b8293423d91c699711bce0f3551cb8c20a69 (diff) | |
download | ATCD-b11770b30f8b58d20fe2d61846bfa3fc5354ee7e.tar.gz |
Merged corba-env-clean branch.
Diffstat (limited to 'TAO/tao/CurrentC.cpp')
-rw-r--r-- | TAO/tao/CurrentC.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/TAO/tao/CurrentC.cpp b/TAO/tao/CurrentC.cpp index 1fa88e21545..a59e33592bc 100644 --- a/TAO/tao/CurrentC.cpp +++ b/TAO/tao/CurrentC.cpp @@ -58,11 +58,11 @@ tao_CORBA_Current_nil ( CORBA_Current_ptr tao_CORBA_Current_narrow ( - CORBA::Object *p, - CORBA::Environment &ACE_TRY_ENV + CORBA::Object *p + TAO_ENV_ARG_DECL ) { - return CORBA_Current::_narrow (p, ACE_TRY_ENV); + return CORBA_Current::_narrow (p TAO_ENV_ARG_PARAMETER); } CORBA::Object * @@ -123,7 +123,7 @@ CORBA_Current_var::operator const ::CORBA_Current_ptr &() const // cast return this->ptr_; } -CORBA_Current_var::operator ::CORBA_Current_ptr &() // cast +CORBA_Current_var::operator ::CORBA_Current_ptr &() // cast { return this->ptr_; } @@ -183,11 +183,11 @@ CORBA_Current_var::tao_nil (void) ::CORBA_Current_ptr CORBA_Current_var::tao_narrow ( - CORBA::Object *p, - CORBA::Environment &ACE_TRY_ENV + CORBA::Object *p + TAO_ENV_ARG_DECL ) { - return ::CORBA_Current::_narrow (p, ACE_TRY_ENV); + return ::CORBA_Current::_narrow (p TAO_ENV_ARG_PARAMETER); } CORBA::Object * @@ -265,18 +265,18 @@ CORBA_Current::CORBA_Current (void) // destructor CORBA_Current::~CORBA_Current (void) {} - + CORBA_Current_ptr CORBA_Current::_narrow ( - CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV + CORBA::Object_ptr obj + TAO_ENV_ARG_DECL ) { - return CORBA_Current::_unchecked_narrow (obj, ACE_TRY_ENV); + return CORBA_Current::_unchecked_narrow (obj TAO_ENV_ARG_PARAMETER); } - + CORBA_Current_ptr CORBA_Current::_unchecked_narrow ( - CORBA::Object_ptr obj, - CORBA::Environment & + CORBA::Object_ptr obj + TAO_ENV_ARG_DECL_NOT_USED ) { if (CORBA::is_nil (obj)) @@ -314,7 +314,7 @@ void *CORBA_Current::_tao_QueryInterface (ptr_arith_t type) else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id)) retv = ACE_reinterpret_cast (void *, ACE_static_cast (CORBA::Object_ptr, this)); - + if (retv) this->_add_ref (); return retv; |