util.h 154 Bytes
Newer Older
Adam Blank's avatar
Adam Blank committed
1
2
3
4
5
6
7
8
9
10
11
#ifndef UTIL_H
#define UTIL_H

#include <stdbool.h>

typedef struct optional_int {
    bool result;
    int value;
} optional_int_t;

#endif /* UTIL_H */