diff options
Diffstat (limited to 'TAO/tao/corbafwd.i')
-rw-r--r-- | TAO/tao/corbafwd.i | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/TAO/tao/corbafwd.i b/TAO/tao/corbafwd.i deleted file mode 100644 index 3a074b08759..00000000000 --- a/TAO/tao/corbafwd.i +++ /dev/null @@ -1,33 +0,0 @@ -// -*- C++ -*- -// $Id$ - -ACE_INLINE 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 void -CORBA::string_free (CORBA::Char *str) -{ - delete [] str; -} - -ACE_INLINE CORBA::WChar* -CORBA::wstring_alloc (CORBA::ULong len) -{ - return new CORBA::WChar [(size_t) (len + 1)]; -} - -ACE_INLINE void -CORBA::wstring_free (CORBA::WChar *const str) -{ - delete [] str; -} - -ACE_INLINE CORBA_Environment& -CORBA::default_environment () -{ - return TAO_default_environment (); -} |