2 //=============================================================================
6 * Header file for the CORBA string types.
8 * @author DOC Group at Wash U, UCI, and Vanderbilt U.
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)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 * @name CORBA String Memory Management
31 * CORBA string memory management functions.
34 TAO_Export
char * string_alloc (ULong len
);
35 TAO_Export
char * string_dup (const char *);
36 TAO_Export
void string_free (char *);
40 * @name CORBA Wide String Memory Management
42 * CORBA wide string memory management functions.
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);
49 } // End CORBA namespace.
51 TAO_END_VERSIONED_NAMESPACE_DECL
53 #include /**/ "ace/post.h"
55 #endif /* TAO_STRING_ALLOC_H */