diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-13 15:54:43 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-13 15:54:43 +0000 |
commit | 37a483dcdc683f3d8f0ac166a90fddc97cbf7e84 (patch) | |
tree | 9dd6230724bb0092807e0a7b32c781a7315e07ae /ace/ACE.h | |
parent | e91963f8a2ecd6e3e674e4665f5c712f0c233e21 (diff) | |
download | ATCD-37a483dcdc683f3d8f0ac166a90fddc97cbf7e84.tar.gz |
ChangeLogTag:Sat Apr 13 15:42:03 UTC 2002 Don Hinton <dhinton@ieee.org>
Diffstat (limited to 'ace/ACE.h')
-rw-r--r-- | ace/ACE.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/ACE.h b/ace/ACE.h index 917e1c4e8cc..1948ef3f590 100644 --- a/ace/ACE.h +++ b/ace/ACE.h @@ -367,6 +367,9 @@ public: /// segfaulting... static char *strnew (const char *s); + /// Delete the memory allocated by <strnew>. + static void strdelete (char *s); + /// Create a fresh new copy of <str>, up to <n> chars long. Uses /// <ACE_OS::malloc> to allocate the new string. static char *strndup (const char *str, size_t n); @@ -380,6 +383,8 @@ public: static wchar_t *strnew (const wchar_t *s); + static void strdelete (wchar_t *s); + static wchar_t *strndup (const wchar_t *str, size_t n); static wchar_t *strnnew (const wchar_t *str, size_t n); |