Skip to content

Commit

Permalink
Big reshuffle in evaluate.cpp
Browse files Browse the repository at this point in the history
Reshuffle functions to define them in reverse
calling order (C style).

This allow us to define templates before they are
used. Currently it is not like this, for instance
evaluate_pieces is defined after do_evaluate that
calls it. This happens to work for some strange
reason (two phase lookup?) but we want to avoid
code that works 'by magic'.

As a nice side-effect we can now remove the function
prototypes.

No functional change.
  • Loading branch information
mcostalba committed Apr 12, 2014
1 parent 0510112 commit 2f92e3b
Showing 1 changed file with 173 additions and 201 deletions.

0 comments on commit 2f92e3b

Please sign in to comment.