summaryrefslogtreecommitdiff
path: root/ace/ACE.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-25 07:54:25 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-25 07:54:25 +0000
commit333eb3d4ebae95aea4304c764e4e4a57666ae7c2 (patch)
treee3086ca4c45b07a9dccafa4e840c80030aaae426 /ace/ACE.h
parent0436358ca2ea98018524869a29021406e6762c3c (diff)
downloadATCD-333eb3d4ebae95aea4304c764e4e4a57666ae7c2.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/ACE.h')
-rw-r--r--ace/ACE.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/ace/ACE.h b/ace/ACE.h
index 2b089ca2808..a1094bfc395 100644
--- a/ace/ACE.h
+++ b/ace/ACE.h
@@ -565,13 +565,21 @@ public:
static u_long hash_pjw (const char *str, size_t len);
// Computes the hash value of <str> using the ``Hash PJW'' routine.
+#if !defined (ACE_HAS_WCHAR_TYPEDEFS_CHAR)
+ static u_long hash_pjw (const wchar_t *str);
+ // Computes the hash value of <str> using the ``Hash PJW'' routine.
+
+ static u_long hash_pjw (const wchar_t *str, size_t len);
+ // Computes the hash value of <str> using the ``Hash PJW'' routine.
+#endif /* ! ACE_HAS_WCHAR_TYPEDEFS_CHAR */
+
+#if !defined (ACE_HAS_WCHAR_TYPEDEFS_USHORT)
static u_long hash_pjw (const ACE_USHORT16 *str);
- // Computes the hash value of <str> using the ``Hash PJW'' routine
- // (works for UNICODE strings).
+ // Computes the hash value of <str> using the ``Hash PJW'' routine.
static u_long hash_pjw (const ACE_USHORT16 *str, size_t len);
- // Computes the hash value of <str> using the ``Hash PJW'' routine
- // (works for UNICODE strings).
+ // Computes the hash value of <str> using the ``Hash PJW'' routine.
+#endif /* ! ACE_HAS_WCHAR_TYPEDEFS_USHORT */
static u_long crc32 (const char *str);
// Computes the ISO 8802-3 standard 32 bits CRC for the string