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:
David Goldblatt 2017-04-10 18:17:55 -07:00 committed by David Goldblatt
parent 0237870c60
commit 743d940dc3
38 changed files with 1396 additions and 1337 deletions

View file

@ -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.