mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 07:01:42 +03:00
Header refactoring: Split up jemalloc_internal.h
This is a biggy. jemalloc_internal.h has been doing multiple jobs for a while now: - The source of system-wide definitions. - The catch-all include file. - The module header file for jemalloc.c This commit splits up this functionality. The system-wide definitions responsibility has moved to jemalloc_preamble.h. The catch-all include file is now jemalloc_internal_includes.h. The module headers for jemalloc.c are now in jemalloc_internal_[externs|inlines|types].h, just as they are for the other modules.
This commit is contained in:
parent
0237870c60
commit
743d940dc3
38 changed files with 1396 additions and 1337 deletions
|
|
@ -2,7 +2,8 @@
|
|||
#include <new>
|
||||
|
||||
#define JEMALLOC_CPP_CPP_
|
||||
#include "jemalloc/internal/jemalloc_internal.h"
|
||||
#include "jemalloc/internal/jemalloc_preamble.h"
|
||||
#include "jemalloc/internal/jemalloc_internal_includes.h"
|
||||
|
||||
// All operators in this file are exported.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue