Refactor latin.c to make it easier to reuse. Instead of client
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 27 Dec 2009 10:01:10 +0000 (10:01 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 27 Dec 2009 10:01:10 +0000 (10:01 +0000)
commit388b2f0063a017a5be26f72eae1424bad5b23f3c
treeed256d36dcf803be3d02e16239a96ca61277d84e
parent34950d9fdadfc8a740b76239625fd7e495c1091f
Refactor latin.c to make it easier to reuse. Instead of client
programs having to clone the latin_solver() function and insert
their own extra deduction routines, they can now just _call_
latin_solver with enough parameters to let it fit its own deductions
into their difficulty framework and call a set of provided function
pointers to do user deductions. Modified Unequal to work in the new
world, of course.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8791 cda61777-01e9-0310-a592-d414129be87e
latin.c
latin.h
unequal.c