Safety checks: Indirect through a function.
This will let us share code on failure pathways.pathways
This commit is contained in:
committed by
David Goldblatt
parent
f95a88fcd9
commit
b92c9a1a81
6
include/jemalloc/internal/safety_check.h
Normal file
6
include/jemalloc/internal/safety_check.h
Normal 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 */
|
Reference in New Issue
Block a user