diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-21 20:04:48 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-21 20:04:48 +0000 |
commit | af88d3ad4cdb32902bf482860d043f784060e1d7 (patch) | |
tree | 6a09865d0c260552f76f345fecc5caf29afb8162 /TAO/tao/Marshal.i | |
parent | fd1e8fb0535dc47409be3dbe2ab00e3e0d307f8c (diff) | |
download | ATCD-af88d3ad4cdb32902bf482860d043f784060e1d7.tar.gz |
ChangeLogTag:Tue Mar 21 13:51:23 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Marshal.i')
-rw-r--r-- | TAO/tao/Marshal.i | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/TAO/tao/Marshal.i b/TAO/tao/Marshal.i index 1d95143e76d..9ee1717db49 100644 --- a/TAO/tao/Marshal.i +++ b/TAO/tao/Marshal.i @@ -138,74 +138,3 @@ ACE_INLINE TAO_Marshal_WString::~TAO_Marshal_WString (void) { } - -// *************** deep_free methods ****************** - -// deep_free for Any -ACE_INLINE CORBA::TypeCode::traverse_status -TAO_Marshal_Any::deep_free (CORBA::TypeCode_ptr, - const void *source, - const void *, - CORBA::Environment &) -{ - ((CORBA::Any *) source)->~CORBA_Any (); - return CORBA::TypeCode::TRAVERSE_CONTINUE; -} - -// deep_free for TypeCode -ACE_INLINE CORBA::TypeCode::traverse_status -TAO_Marshal_TypeCode::deep_free (CORBA::TypeCode_ptr, - const void *source, - const void *, - CORBA::Environment &) -{ - CORBA::release (*(CORBA::TypeCode_ptr *) source); - return CORBA::TypeCode::TRAVERSE_CONTINUE; -} - -// deep_free for Principal -ACE_INLINE CORBA::TypeCode::traverse_status -TAO_Marshal_Principal::deep_free (CORBA::TypeCode_ptr, - const void *value, - const void *, - CORBA::Environment &) -{ - CORBA::release (*(CORBA::Principal_ptr *) value); - return CORBA::TypeCode::TRAVERSE_CONTINUE; -} - -// deep_free for ObjRef -ACE_INLINE CORBA::TypeCode::traverse_status -TAO_Marshal_ObjRef::deep_free (CORBA::TypeCode_ptr, - const void *source, - const void *, - CORBA::Environment &) -{ - CORBA::Object_ptr obj = *(CORBA::Object_ptr *)source; - CORBA::release (obj); - return CORBA::TypeCode::TRAVERSE_CONTINUE; -} - -// deep_free for string -ACE_INLINE CORBA::TypeCode::traverse_status -TAO_Marshal_String::deep_free (CORBA::TypeCode_ptr, - const void *source, - const void *, - CORBA::Environment &) -{ - CORBA::string_free (*(CORBA::Char* *) source); - *(CORBA::Char* *)source = 0; - return CORBA::TypeCode::TRAVERSE_CONTINUE; -} - -// deep_free for wstring -ACE_INLINE CORBA::TypeCode::traverse_status -TAO_Marshal_WString::deep_free (CORBA::TypeCode_ptr, - const void *source, - const void *, - CORBA::Environment &) -{ - CORBA::wstring_free (*(CORBA::WChar* *) source); - *(CORBA::WChar* *)source = 0; - return CORBA::TypeCode::TRAVERSE_CONTINUE; -} |