summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/base_inlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/internal/base_inlines.h')
-rw-r--r--include/jemalloc/internal/base_inlines.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/jemalloc/internal/base_inlines.h b/include/jemalloc/internal/base_inlines.h
new file mode 100644
index 0000000..931560b
--- /dev/null
+++ b/include/jemalloc/internal/base_inlines.h
@@ -0,0 +1,9 @@
+#ifndef JEMALLOC_INTERNAL_BASE_INLINES_H
+#define JEMALLOC_INTERNAL_BASE_INLINES_H
+
+static inline unsigned
+base_ind_get(const base_t *base) {
+ return base->ind;
+}
+
+#endif /* JEMALLOC_INTERNAL_BASE_INLINES_H */