1 /* This code is part of the tng compression routines.
3 * Written by Daniel Spangberg
4 * Copyright (c) 2010, 2013, The GROMACS development team.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the Revised BSD License.
15 #include "../compression/tng_compress.h"
17 void DECLSPECDLLEXPORT *Ptngc_warnmalloc_x(size_t size, char *file, int line);
19 #define warnmalloc(size) Ptngc_warnmalloc_x(size,__FILE__,__LINE__)
21 void DECLSPECDLLEXPORT *Ptngc_warnrealloc_x(void *old, size_t size, char *file, int line);
23 #define warnrealloc(old,size) Ptngc_warnrealloc_x(old,size,__FILE__,__LINE__)