mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
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:
8
latin.h
8
latin.h
@ -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 --- */
|
||||
|
||||
|
Reference in New Issue
Block a user