something

This commit is contained in:
Alessandro Mauri 2023-02-15 02:15:44 +01:00
parent 4b6f76b6c8
commit 9136eaa54f
No known key found for this signature in database
GPG key ID: 2B7BF9531FF03BE8
12 changed files with 1838 additions and 67 deletions

View file

@ -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);