summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/common/uhash_us.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/common/uhash_us.cpp')
-rw-r--r--deps/icu-small/source/common/uhash_us.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/icu-small/source/common/uhash_us.cpp b/deps/icu-small/source/common/uhash_us.cpp
new file mode 100644
index 0000000000..71a41cbe29
--- /dev/null
+++ b/deps/icu-small/source/common/uhash_us.cpp
@@ -0,0 +1,24 @@
+/*
+******************************************************************************
+* 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