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:
@ -350,7 +350,8 @@ struct solver_scratch {
|
||||
struct solver_square **squares_by_number;
|
||||
struct findloopstate *fls;
|
||||
bool squares_by_number_initialised;
|
||||
int *wh_scratch, *pc_scratch, *pc_scratch2, *dc_scratch, *dsf_scratch;
|
||||
int *wh_scratch, *pc_scratch, *pc_scratch2, *dc_scratch;
|
||||
DSF *dsf_scratch;
|
||||
};
|
||||
|
||||
static struct solver_scratch *solver_make_scratch(int n)
|
||||
|
Reference in New Issue
Block a user