diff options
Diffstat (limited to 'TAO/tao/Request.i')
-rw-r--r-- | TAO/tao/Request.i | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/tao/Request.i b/TAO/tao/Request.i index 2209c228421..410a8eb9d0f 100644 --- a/TAO/tao/Request.i +++ b/TAO/tao/Request.i @@ -4,6 +4,33 @@ // Return the target of this request. +ACE_INLINE void +CORBA::release (CORBA::Request_ptr req) +{ + if (req) + req->_decr_refcnt (); +} + +ACE_INLINE CORBA::Boolean +CORBA::is_nil (CORBA::Request_ptr req) +{ + return (CORBA::Boolean) (req == 0); +} + +ACE_INLINE CORBA_Request* +CORBA_Request::_duplicate (CORBA_Request* x) +{ + if (x != 0) + x->_incr_refcnt (); + return x; +} + +ACE_INLINE CORBA_Request* +CORBA_Request::_nil (void) +{ + return 0; +} + ACE_INLINE CORBA::Object_ptr CORBA_Request::target (void) const { |