Mercurial > repo
view src/ploki/xmalloc.h @ 10412:5af59ff5ca72
<hppavilion[1]> learn zed is the 26th letter of the alphabet in Commonwealth English. Why they consider what is clearly a 3-letter string to be a single letter is unclear.
author | HackBot |
---|---|
date | Wed, 15 Mar 2017 00:47:06 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
#ifndef XMALLOC_H_ #define XMALLOC_H_ #include "config.h" #include <stddef.h> void xend(void); #if DEBUG_P void *xmalloc(size_t, size_t, const char *, unsigned); void *xrealloc(void *, size_t, const char *, unsigned); #define xmalloc(n, m) xmalloc(n, m, __FILE__, __LINE__) #define xrealloc(p, n) xrealloc(p, n, __FILE__, __LINE__) #else void *xmalloc(size_t, size_t); void *xrealloc(void *, size_t); #endif void xfree(void *); #endif /* XMALLOC_H_ */