aboutsummaryrefslogtreecommitdiff
path: root/latin.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2010-01-11 20:32:55 +0000
committerSimon Tatham <anakin@pobox.com>2010-01-11 20:32:55 +0000
commit771f5446a8c81584bc2d700e0f991eb727b85b9e (patch)
tree0e75c7d0df9a541b51d31d647528a5fd544b6528 /latin.h
parent056465cb03a9753020014529531b348e231898ba (diff)
downloadpuzzles-771f5446a8c81584bc2d700e0f991eb727b85b9e.zip
puzzles-771f5446a8c81584bc2d700e0f991eb727b85b9e.tar.gz
puzzles-771f5446a8c81584bc2d700e0f991eb727b85b9e.tar.bz2
puzzles-771f5446a8c81584bc2d700e0f991eb727b85b9e.tar.xz
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]
Diffstat (limited to 'latin.h')
-rw-r--r--latin.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/latin.h b/latin.h
index a1b5873..5607afe 100644
--- a/latin.h
+++ b/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 --- */