diff options
author | David Goldblatt <davidgoldblatt@fb.com> | 2019-03-20 13:06:53 -0700 |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2019-04-15 16:48:12 -0700 |
commit | b92c9a1a81f3f68da87afe5887d8450fef0700d3 (patch) | |
tree | 12077ecd87c07e9abee2256a3fec1767447e156d /include | |
parent | f95a88fcd92e8ead1a6c5c8b2ca8c401c6eba162 (diff) |
Safety checks: Indirect through a function.
This will let us share code on failure pathways.pathways
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/safety_check.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/jemalloc/internal/safety_check.h b/include/jemalloc/internal/safety_check.h new file mode 100644 index 00000000..52157d16 --- /dev/null +++ b/include/jemalloc/internal/safety_check.h @@ -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 */ |