mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-04 12:57:15 +03:00
Safety checks: Indirect through a function.
This will let us share code on failure pathways.pathways
This commit is contained in:
parent
f95a88fcd9
commit
b92c9a1a81
4 changed files with 20 additions and 1 deletions
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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue