This commit is contained in:
evertrol 2013-04-17 05:29:43 -07:00
commit 0ecb3f1282
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ typedef struct _HashNode {
HashVal_t value;
} HashNode;
typedef struct _HashTable {
struct _HashTable {
HashNode **table;
uint32_t length;
uint32_t count;
@ -38,7 +38,7 @@ typedef struct _HashTable {
KeyDestroyFunc keyDestroyFunc;
ValDestroyFunc valDestroyFunc;
void *userData;
} HashTable;
};
#define MIN_LENGTH 11
#define RESIZE_FACTOR 3

View File

@ -23,12 +23,12 @@
#include "QuantHeap.h"
typedef struct _Heap {
struct _Heap {
void **heap;
int heapsize;
int heapcount;
HeapCmpFunc cf;
} Heap;
};
#define INITIAL_SIZE 256