something
This commit is contained in:
parent
4b6f76b6c8
commit
9136eaa54f
12 changed files with 1838 additions and 67 deletions
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef _UTIL_H
|
||||
#define _UTIL_H
|
||||
|
||||
|
||||
#define ERROR(expr, ret, ...) if (expr) { __VA_ARGS__; return ret; }
|
||||
|
||||
|
||||
void * emalloc(unsigned long int size);
|
||||
void * ecalloc(unsigned long int nmemb, unsigned long int size);
|
||||
void efree(void *ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue