Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / String_Alloc.h
blobfeb02fa3bd32fc8428f79b60436c49ed31324bf2
1 // -*- C++ -*-
2 //=============================================================================
3 /**
4 * @file String_Alloc.h
6 * Header file for the CORBA string types.
8 * @author DOC Group at Wash U, UCI, and Vanderbilt U.
9 */
10 //=============================================================================
12 #ifndef TAO_STRING_ALLOC_H
13 #define TAO_STRING_ALLOC_H
15 #include /**/ "ace/pre.h"
17 #include /**/ "tao/TAO_Export.h"
18 #include "tao/Basic_Types.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 namespace CORBA
28 /**
29 * @name CORBA String Memory Management
31 * CORBA string memory management functions.
33 //@{
34 TAO_Export char * string_alloc (ULong len);
35 TAO_Export char * string_dup (const char *);
36 TAO_Export void string_free (char *);
37 //@}
39 /**
40 * @name CORBA Wide String Memory Management
42 * CORBA wide string memory management functions.
44 //@{
45 TAO_Export WChar * wstring_alloc (ULong len);
46 TAO_Export WChar * wstring_dup (const WChar * const);
47 TAO_Export void wstring_free (WChar * const);
48 //@}
49 } // End CORBA namespace.
51 TAO_END_VERSIONED_NAMESPACE_DECL
53 #include /**/ "ace/post.h"
55 #endif /* TAO_STRING_ALLOC_H */