Initial commit
This commit is contained in:
12
include/util.h
Normal file
12
include/util.h
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
#ifndef _UTIL_H
|
||||
#define _UTIL_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
void* malloc_or_die(size_t size);
|
||||
void* realloc_or_die(void* ptr, size_t size);
|
||||
void* calloc_or_die(size_t nmemb, size_t size);
|
||||
void print_trace();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user