Sha256: 673aba98309c8e4c4fc28451ed94e017f33ffe7ef840dae8816a4d21e0cf6e93
Contents?: true
Size: 312 Bytes
Versions: 3
Compression:
Stored size: 312 Bytes
Contents
#ifndef _ZMISC_H # define _ZMISC_H /** * Misc portability and convenience macros. **/ #include <stdlib.h> #define zalloc malloc #define zrealloc realloc #define zfree free #define znew(type, n) (type *)zalloc(sizeof(type) * (n)) #define zrenew(type, p, n) (type *)zrealloc((p), sizeof(type) * (n)) #endif
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spiro-0.0.3 | ext/spiro/zmisc.h |
spiro-0.0.2 | ext/spiro/zmisc.h |
spiro-0.0.1 | ext/spiro/zmisc.h |