2017-01-11 10:06:31 +08:00
|
|
|
#ifndef JEMALLOC_INTERNAL_BASE_INLINES_H
|
|
|
|
#define JEMALLOC_INTERNAL_BASE_INLINES_H
|
|
|
|
|
|
|
|
#ifndef JEMALLOC_ENABLE_INLINE
|
|
|
|
unsigned base_ind_get(const base_t *base);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (defined(JEMALLOC_ENABLE_INLINE) || defined(JEMALLOC_BASE_C_))
|
|
|
|
JEMALLOC_INLINE unsigned
|
2017-01-16 08:56:30 +08:00
|
|
|
base_ind_get(const base_t *base) {
|
2017-01-20 10:15:45 +08:00
|
|
|
return base->ind;
|
2017-01-11 10:06:31 +08:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* JEMALLOC_INTERNAL_BASE_INLINES_H */
|