#ifndef LIB_H #define LIB_H #include #include #include typedef struct State { // Sandpiles uint64_t *data; size_t dwidth; size_t window_len; int multiplier; bool thread_alive; } state_t; bool load_from_file(state_t *state, const char *filepath); bool write_to_file(state_t *state, const char *filepath); #endif