Retire the YTRANS and YUNTRANS macros in latin.[ch]. They were

introduced to mimic similar macros in solo.c, in case Solo ever
moved over to being based on the latin.c solver framework; but even
Solo has long since lost those macros, so latin.c has no need to
keep them.

[originally from svn r8827]
This commit is contained in:
Simon Tatham
2010-01-11 20:32:55 +00:00
parent 056465cb03
commit 771f5446a8
2 changed files with 13 additions and 21 deletions

View File

@ -30,14 +30,6 @@ struct latin_solver {
#define gridpos(x,y) ((y)*solver->o+(x))
#define grid(x,y) (solver->grid[gridpos(x,y)])
/* A solo solver using this code would need these defined. See solo.c. */
#ifndef YTRANS
#define YTRANS(y) (y)
#endif
#ifndef YUNTRANS
#define YUNTRANS(y) (y)
#endif
/* --- Solver individual strategies --- */