intl/icu/source/common/uhash_us.cpp

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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

mercurial