Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Imaging/libImaging/QuantTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'Imaging/libImaging/QuantTypes.h')
-rw-r--r--Imaging/libImaging/QuantTypes.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/Imaging/libImaging/QuantTypes.h b/Imaging/libImaging/QuantTypes.h
new file mode 100644
index 0000000..0d0cd40
--- /dev/null
+++ b/Imaging/libImaging/QuantTypes.h
@@ -0,0 +1,28 @@
+/*
+ * The Python Imaging Library
+ * $Id: QuantTypes.h 2134 2004-10-06 08:55:20Z fredrik $
+ *
+ * image quantizer
+ *
+ * Written by Toby J Sargeant <tjs@longford.cs.monash.edu.au>.
+ *
+ * See the README file for information on usage and redistribution.
+ */
+
+#ifndef __TYPES_H__
+#define __TYPES_H__
+
+typedef void *HashTable;
+typedef void *Heap;
+
+typedef unsigned long (*HashFunc)(const HashTable,const void *);
+typedef int (*HashCmpFunc)(const HashTable,const void *,const void *);
+typedef void (*IteratorFunc)(const HashTable,const void *,const void *,void *);
+typedef void (*IteratorUpdateFunc)(const HashTable,const void *,void **,void *);
+typedef void (*DestroyFunc)(const HashTable,void *);
+typedef void (*ComputeFunc)(const HashTable,const void *,void **);
+typedef void (*CollisionFunc)(const HashTable,void **,void **,void *,void *);
+
+typedef int (*HeapCmpFunc)(const Heap,const void *,const void *);
+
+#endif