mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Declare all dsfs as a dedicated type name 'DSF'.
In this commit, 'DSF' is simply a typedef for 'int', so that the new declaration form 'DSF *' translates to the same type 'int *' that dsfs have always had. So all we're doing here is mechanically changing type declarations throughout the code.
This commit is contained in:
@ -62,7 +62,7 @@ struct game_state {
|
||||
int *nums; /* numbers, size n */
|
||||
unsigned int *flags; /* flags, size n */
|
||||
int *next, *prev; /* links to other cell indexes, size n (-1 absent) */
|
||||
int *dsf; /* connects regions with a dsf. */
|
||||
DSF *dsf; /* connects regions with a dsf. */
|
||||
int *numsi; /* for each number, which index is it in? (-1 absent) */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user