1 /* src/common/try_malloc.h
3 * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
4 * or any later version. For details on its copyright, license, and warranties,
5 * see the file NOTICE in the root directory of the PlomRogue source package.
13 #include <sys/types.h> /* for size_t */
17 /* Call malloc("size") from function called "f"; exit_trouble() on error. */
18 extern void * try_malloc(size_t size, const char * f);