☰
Debian Codegraph
@
2:3.016-1
2:0~20170802-6
/
/
third_party
/
spiro
/
ppedit
/
zmisc.h
☽
☼
third_party/spiro/ppedit/zmisc.h
code
plain
raw
symbols
SCIP
GPL-2+
2007, Raph Levien
debian/copyright
1
/**
2
* Misc portability and convenience macros.
3
**/
4
5
#include
<stdlib.h>
6
7
#define
zalloc malloc
8
#define
zrealloc realloc
9
#define
zfree free
10
11
#define
znew
(type, n) (type *)zalloc(sizeof(type) * (n))
12
#define
zrenew
(type, p, n) (type *)zrealloc((p), sizeof(type) * (n))