Reimplementation of Pijul in C, for education, fun and absolutely no profit
#ifndef ANI_SCAFFOLD_H
#define ANI_SCAFFOLD_H

/* Various scaffolding functions around stdlib functions */

void *xmalloc(size_t size);
void *xrealloc(void *ptr, size_t size);

char *xstrdup(const char *str);

/* The die() declaration is stolen from git-compat-util.h */
_Noreturn void die(const char *err, ...) __attribute__((format(printf, 1, 2)));
#endif