chiark / gitweb /
Refactor latin.c to make it easier to reuse. Instead of client
authorSimon Tatham <anakin@pobox.com>
Sun, 27 Dec 2009 10:01:10 +0000 (10:01 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 27 Dec 2009 10:01:10 +0000 (10:01 +0000)
commit189f83398081b228440134f0163c56f5b662c5f4
treeed256d36dcf803be3d02e16239a96ca61277d84e
parentb9c22e5cacc5541c71706889c2cd58ceb966ff45
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.

[originally from svn r8791]
latin.c
latin.h
unequal.c