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 | f583b9618e4a646fa092854124a660d4180f3a35 (patch) | |
tree | 9dd6230724bb0092807e0a7b32c781a7315e07ae /ace/ACE.h | |
parent | 1c3b828d8ec9ce14d16dad82b0ce00c35fe56c76 (diff) | |
download | ATCD-f583b9618e4a646fa092854124a660d4180f3a35.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); |