| 1 | // © 2016 and later: Unicode, Inc. and others. |
| 2 | // License & terms of use: http://www.unicode.org/copyright.html |
| 3 | /* |
| 4 | ****************************************************************************** |
| 5 | * Copyright (C) 1997-2011, International Business Machines |
| 6 | * Corporation and others. All Rights Reserved. |
| 7 | ****************************************************************************** |
| 8 | * Date Name Description |
| 9 | * 03/22/00 aliu Creation. |
| 10 | * 07/06/01 aliu Modified to support int32_t keys on |
| 11 | * platforms with sizeof(void*) < 32. |
| 12 | ****************************************************************************** |
| 13 | */ |
| 14 | |
| 15 | #include "hash.h" |
| 16 | |
| 17 | /** |
| 18 | * Deleter for Hashtable objects. |
| 19 | */ |
| 20 | U_CAPI void U_EXPORT2 |
| 21 | uhash_deleteHashtable(void *obj) { |
| 22 | U_NAMESPACE_USE |
| 23 | delete (Hashtable*) obj; |
| 24 | } |
| 25 | |
| 26 | //eof |
| 27 | |