libproff/utils.h
/* [<][>][^][v][top][bottom][index][help] */
FUNCTIONS
This source file includes following functions.
- Xmalloc
- Smalloc
- Scalloc
- Srealloc
- strdup
- Sstrdup
- Xstrdup
/* $Id: utils.h,v 1.2 1999/12/25 01:32:54 proff Exp $
* $Copyright:$
*/
#ifndef UTILS_H
#define UTILS_H
#include "utils.ext"
#define Xmalloc(x) lp_Xmalloc ((x), __FILE__ ":" STR(__LINE__))
/* [<][>][^][v][top][bottom][index][help] */
#define Smalloc(x) lp_Smalloc ((x), __FILE__ ":" STR(__LINE__))
/* [<][>][^][v][top][bottom][index][help] */
#define Scalloc(x,y) lp_Scalloc ((x), (y), __FILE__ ":" STR(__LINE__))
/* [<][>][^][v][top][bottom][index][help] */
#define Srealloc(x,y) lp_Srealloc ((x), (y), __FILE__ ":" STR(__LINE__))
/* [<][>][^][v][top][bottom][index][help] */
#undef strdup
#define strdup(x) lp_strdup((x), __FILE__ ":" STR(__LINE__))
/* [<][>][^][v][top][bottom][index][help] */
#define Sstrdup(x) lp_Sstrdup ((x), __FILE__ ":" STR(__LINE__))
/* [<][>][^][v][top][bottom][index][help] */
#define Xstrdup(x) lp_Xstrdup ((x), __FILE__ ":" STR(__LINE__))
/* [<][>][^][v][top][bottom][index][help] */
#endif /* UTILS_H */