2024-12-11 15:28:32 -05:00

23 lines
341 B
C

#ifndef UTIL_H
#define UTIL_H
#include <assert.h>
typedef char *string;
typedef char bool;
#define TRUE 1
#define FALSE 0
void *checked_malloc(int);
string String(char *);
typedef struct U_boolList_ *U_boolList;
struct U_boolList_ {
bool head;
U_boolList tail;
};
U_boolList U_BoolList(bool head, U_boolList tail);
#endif // !UTIL_H