summaryrefslogtreecommitdiffstats
path: root/intl/icu/source/common/uhash_us.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'intl/icu/source/common/uhash_us.cpp')
-rw-r--r--intl/icu/source/common/uhash_us.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/intl/icu/source/common/uhash_us.cpp b/intl/icu/source/common/uhash_us.cpp
new file mode 100644
index 0000000000..ef482c2746
--- /dev/null
+++ b/intl/icu/source/common/uhash_us.cpp
@@ -0,0 +1,26 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
+/*
+******************************************************************************
+* Copyright (C) 1997-2011, International Business Machines
+* Corporation and others. All Rights Reserved.
+******************************************************************************
+* Date Name Description
+* 03/22/00 aliu Creation.
+* 07/06/01 aliu Modified to support int32_t keys on
+* platforms with sizeof(void*) < 32.
+******************************************************************************
+*/
+
+#include "hash.h"
+
+/**
+ * Deleter for Hashtable objects.
+ */
+U_CAPI void U_EXPORT2
+uhash_deleteHashtable(void *obj) {
+ U_NAMESPACE_USE
+ delete (Hashtable*) obj;
+}
+
+//eof