Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 /*
2 ******************************************************************************
3 * Copyright (C) 1997-2011, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************
6 * Date Name Description
7 * 03/22/00 aliu Creation.
8 * 07/06/01 aliu Modified to support int32_t keys on
9 * platforms with sizeof(void*) < 32.
10 ******************************************************************************
11 */
13 #include "hash.h"
15 /**
16 * Deleter for Hashtable objects.
17 */
18 U_CAPI void U_EXPORT2
19 uhash_deleteHashtable(void *obj) {
20 U_NAMESPACE_USE
21 delete (Hashtable*) obj;
22 }
24 //eof