mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
Make the tsd member init functions to take tsd_t * type.
This commit is contained in:
parent
d3cda3423c
commit
492e9f301e
3 changed files with 9 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ bool
|
|||
tsd_data_init(void *arg) {
|
||||
tsd_t *tsd = (tsd_t *)arg;
|
||||
#define MALLOC_TSD_init_yes(n, t) \
|
||||
if (n##_data_init(&tsd->n)) { \
|
||||
if (tsd_##n##_data_init(tsd)) { \
|
||||
return true; \
|
||||
}
|
||||
#define MALLOC_TSD_init_no(n, t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue