4 // Okay, this is ugly but works and I can't think of any better way to handle
5 // this. So what we do when we pass the anonymous structs into a function is
6 // pass them as a (void *) and then cast them as type (Board *) in order to
7 // use them. Yes, it's ugly. Come up with something better!
10 unsigned int width; // Width of the board
11 unsigned int height; // Height of the board
12 unsigned char state[]; // Board data
15 #define NUMBER_OF_BOARDS 18
16 extern const void * boards[];
18 #endif // __BOARDS_H__