mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Fix issue #193: remove double typedef declaration.
This commit is contained in:
parent
70fe6ec265
commit
8e74b50e0f
|
@ -29,7 +29,7 @@ typedef struct _HashNode {
|
||||||
HashVal_t value;
|
HashVal_t value;
|
||||||
} HashNode;
|
} HashNode;
|
||||||
|
|
||||||
typedef struct _HashTable {
|
struct _HashTable {
|
||||||
HashNode **table;
|
HashNode **table;
|
||||||
uint32_t length;
|
uint32_t length;
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
|
@ -38,7 +38,7 @@ typedef struct _HashTable {
|
||||||
KeyDestroyFunc keyDestroyFunc;
|
KeyDestroyFunc keyDestroyFunc;
|
||||||
ValDestroyFunc valDestroyFunc;
|
ValDestroyFunc valDestroyFunc;
|
||||||
void *userData;
|
void *userData;
|
||||||
} HashTable;
|
};
|
||||||
|
|
||||||
#define MIN_LENGTH 11
|
#define MIN_LENGTH 11
|
||||||
#define RESIZE_FACTOR 3
|
#define RESIZE_FACTOR 3
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
|
|
||||||
#include "QuantHeap.h"
|
#include "QuantHeap.h"
|
||||||
|
|
||||||
typedef struct _Heap {
|
struct _Heap {
|
||||||
void **heap;
|
void **heap;
|
||||||
int heapsize;
|
int heapsize;
|
||||||
int heapcount;
|
int heapcount;
|
||||||
HeapCmpFunc cf;
|
HeapCmpFunc cf;
|
||||||
} Heap;
|
};
|
||||||
|
|
||||||
#define INITIAL_SIZE 256
|
#define INITIAL_SIZE 256
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user