summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/base.h
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2011-07-31 00:27:02 (GMT)
committerJason Evans <jasone@canonware.com>2011-07-31 00:27:02 (GMT)
commit446c3b22f1299ff4a5549b0b36540bceda6c3beb (patch)
tree56e74b11294ca1ced74274bad05f4a153475b558 /include/jemalloc/internal/base.h
parent5ef7abf6d846720fb3fb8c737861c99b5ad1d862 (diff)
parent4c48481e7c8f5e5dce55aa55d725e1a479b01224 (diff)
downloadjemalloc-2.2.2.zip
jemalloc-2.2.2.tar.gz
jemalloc-2.2.2.tar.bz2
Merge branch 'dev'2.2.2
Diffstat (limited to 'include/jemalloc/internal/base.h')
-rw-r--r--include/jemalloc/internal/base.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/jemalloc/internal/base.h b/include/jemalloc/internal/base.h
new file mode 100644
index 0000000..e353f30
--- /dev/null
+++ b/include/jemalloc/internal/base.h
@@ -0,0 +1,24 @@
+/******************************************************************************/
+#ifdef JEMALLOC_H_TYPES
+
+#endif /* JEMALLOC_H_TYPES */
+/******************************************************************************/
+#ifdef JEMALLOC_H_STRUCTS
+
+#endif /* JEMALLOC_H_STRUCTS */
+/******************************************************************************/
+#ifdef JEMALLOC_H_EXTERNS
+
+extern malloc_mutex_t base_mtx;
+
+void *base_alloc(size_t size);
+extent_node_t *base_node_alloc(void);
+void base_node_dealloc(extent_node_t *node);
+bool base_boot(void);
+
+#endif /* JEMALLOC_H_EXTERNS */
+/******************************************************************************/
+#ifdef JEMALLOC_H_INLINES
+
+#endif /* JEMALLOC_H_INLINES */
+/******************************************************************************/