summaryrefslogtreecommitdiff
path: root/include/PTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/PTypes.h')
-rw-r--r--include/PTypes.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/PTypes.h b/include/PTypes.h
new file mode 100644
index 0000000..6e4e7b7
--- /dev/null
+++ b/include/PTypes.h
@@ -0,0 +1,21 @@
+#ifndef __PTYPES_H__
+#define __PTYPES_H__
+
+#ifndef Key_t
+typedef int Key_t;
+#else
+#warning You have modified the base type for Key_t.
+#warning We will assume you know what you are doing.
+#endif
+
+typedef void *Datas_t;
+typedef void *Cell;
+
+enum {
+ T_PLLIST = 1,
+ T_BINHEAP,
+ T_BHEAP,
+ T_FHEAP
+};
+
+#endif