summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/malloc_io.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix type warning on Windows.Qi Wang2018-04-091-0/+36
| | | | Add cast since read / write has unsigned return type on windows.
* Logging: allow logging with empty varargs.David Goldblatt2017-07-221-0/+4
| | | | | | Currently, the log macro requires at least one argument after the format string, because of the way the preprocessor handles varargs macros. We can hide some of that irritation by pushing the extra arguments into a varargs function.
* Move CPP_PROLOGUE and CPP_EPILOGUE to the .cppDavid Goldblatt2017-04-191-1/+0
| | | | This lets us avoid having to specify them in every C file.
* Add hooking functionalityDavid Goldblatt2017-04-071-1/+1
| | | | | This allows us to hook chosen functions and do interesting things there (in particular: reentrancy checking).
* Disentangle assert and utilDavid Goldblatt2017-03-061-0/+63
This is the first header refactoring diff, #533. It splits the assert and util components into separate, hermetic, header files. In the process, it splits out two of the large sub-components of util (the stdio.h replacement, and bit manipulation routines) into their own components (malloc_io.h and bit_util.h). This is mostly to break up cyclic dependencies, but it also breaks off a good chunk of the catch-all-ness of util, which is nice.