chiark / gitweb /
Pattern: make part of the game_state shared.
authorSimon Tatham <anakin@pobox.com>
Thu, 10 Dec 2015 19:51:54 +0000 (19:51 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 12 Dec 2015 10:53:55 +0000 (10:53 +0000)
commita845e6476d3f565454d487fda2af65f0062e063f
treef6e8c9f1e6274eb86cf16c5a051b959d30188449
parent0fa7baed1043089c390d80763ace267a681b69d3
Pattern: make part of the game_state shared.

The game_state now includes a pointer to a game_state_common
containing all the row and column clues, which is reference-counted
and therefore doesn't have to be physically copied in every dup_game.
pattern.c