diff options
author | bala <balanatarajan@users.noreply.github.com> | 1999-05-12 20:44:11 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 1999-05-12 20:44:11 +0000 |
commit | 66c468e776684f3a446859d2579188653349cb86 (patch) | |
tree | 2b16e9cfe4eba977a0813a151c59f172a3f10aee /TAO/tao/ORB.i | |
parent | 1a19e3d020017ae05a46d9395c6b585ef5e7c6fb (diff) | |
download | ATCD-66c468e776684f3a446859d2579188653349cb86.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/ORB.i')
-rw-r--r-- | TAO/tao/ORB.i | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/TAO/tao/ORB.i b/TAO/tao/ORB.i index ba7d47392c5..45ffe650154 100644 --- a/TAO/tao/ORB.i +++ b/TAO/tao/ORB.i @@ -4,29 +4,10 @@ // String utility support. Since these are static methods we need to // explicitly export them from the DLL. -ACE_INLINE TAO_Export CORBA::String -CORBA::string_alloc (CORBA::ULong len) -{ - // Allocate 1 + strlen to accomodate the null terminating character. - return new CORBA::Char[size_t (len + 1)]; -} - -ACE_INLINE TAO_Export void -CORBA::string_free (CORBA::Char *str) -{ - delete [] str; -} - // ---------------------------------------------------------------------- // String_var type // ---------------------------------------------------------------------- -ACE_INLINE TAO_Export CORBA::String -CORBA::string_dup (const CORBA::Char *str) -{ - return CORBA::string_copy (str); -} - ACE_INLINE CORBA_String_var::CORBA_String_var (void) { @@ -142,16 +123,6 @@ CORBA_String_out::ptr (void) return this->ptr_; } -// ---------------------------------------------------------------------- -// Wide strings -// ---------------------------------------------------------------------- - -ACE_INLINE TAO_Export CORBA::WString -CORBA::wstring_dup (const WChar *const str) -{ - return CORBA::wstring_copy (str); -} - // --------------------------------------------------------------------------- // ORB specific // --------------------------------------------------------------------------- |