scuffed-code/icu4c/source/common/rbcache.cpp

33 lines
832 B
C++
Raw Normal View History

1999-08-16 21:50:52 +00:00
/*
**********************************************************************
* Copyright (C) 1997-1999, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
1999-08-16 21:50:52 +00:00
*
* File rbcache.cpp
*
* Modification History:
*
* Date Name Description
* 03/20/97 aliu Creation.
* 04/29/97 aliu Convert to use new Hashtable protocol.
* 04/15/99 damiba plugged in C hash table.
*****************************************************************************************
*/
#include "rbcache.h"
ResourceBundleCache::ResourceBundleCache() : hash() {
hash.setValueDeleter(deleteUHashtable);
1999-08-16 21:50:52 +00:00
}
void ResourceBundleCache::deleteUHashtable(void* value) {
uhash_close((UHashtable*)value);
1999-08-16 21:50:52 +00:00
}
//eof