Safety checks: Indirect through a function.

This will let us share code on failure pathways.pathways
This commit is contained in:
David Goldblatt
2019-03-20 13:06:53 -07:00
committed by David Goldblatt
parent f95a88fcd9
commit b92c9a1a81
4 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
#ifndef JEMALLOC_INTERNAL_SAFETY_CHECK_H
#define JEMALLOC_INTERNAL_SAFETY_CHECK_H
void safety_check_fail(const char *format, ...);
#endif /*JEMALLOC_INTERNAL_SAFETY_CHECK_H */