summaryrefslogtreecommitdiff
path: root/library/MacPool.h
diff options
context:
space:
mode:
authorTimothy Collett2012-05-26 16:08:15 -0400
committerTimothy Collett2012-05-26 16:08:15 -0400
commit7ec0fd6fc02815d6093cdff97599226045657053 (patch)
treeab6a3a147fcd6212f1c8720d3b285fe0bf2a332a /library/MacPool.h
parent1dd4cc56670819e72d05c306d4f97d9b5a15cd3b (diff)
downloaddfhack-7ec0fd6fc02815d6093cdff97599226045657053.tar.gz
dfhack-7ec0fd6fc02815d6093cdff97599226045657053.tar.bz2
dfhack-7ec0fd6fc02815d6093cdff97599226045657053.tar.xz
Trying to set up an autorelease pool, but not yet succeeding.
Diffstat (limited to 'library/MacPool.h')
-rw-r--r--library/MacPool.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/library/MacPool.h b/library/MacPool.h
new file mode 100644
index 00000000..f3b5dbeb
--- /dev/null
+++ b/library/MacPool.h
@@ -0,0 +1,12 @@
+/*
+ * MacPool.h
+ * Handles creation and destruction of autorelease pool for DFHack on the Mac
+ */
+
+#ifndef MACPOOL_H
+#define MACPOOL_H
+
+int create_pool();
+int destroy_pool();
+
+#endif \ No newline at end of file