Discontinue HPUX support

This commit is contained in:
Chase
2022-07-22 21:42:06 -05:00
committed by Jon Trulson
parent bd83b53d56
commit edf4319548
235 changed files with 198 additions and 6290 deletions

View File

@@ -55,17 +55,11 @@ class HashTableImpl : public DtCPlusPlusAllocator {
virtual void set(ObjectKey & key, void * value);
virtual void * remove(ObjectKey & key);
// HP can not support this construct.
//
#if !defined(HPUX)
//
#define HASHTABLE_HASFOREACH
typedef int (*HashImplIterator)(ObjectKey &, void * value, void * client_data);
virtual void forEach(HashImplIterator, void * client_data);
#endif
protected:
struct HashEntry : public DtCPlusPlusAllocator {
ObjectKey * key;
@@ -90,12 +84,10 @@ class HashTable : public DtCPlusPlusAllocator {
Object remove(ObjectKey & key) { return( (Object)((long)_table.remove(key)) ); }
#if !defined(HPUX)
typedef int (*HashIterator)(ObjectKey &, Object, void * client_data);
void forEach(HashTableImpl::HashImplIterator iterator, void * client_data) {
_table.forEach((HashTableImpl::HashImplIterator)iterator, client_data);
}
#endif
protected:
HashTableImpl _table;