dictionary.c: Added a oldvar parameter to the var_changed callback
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 05:33:00 +0000 (07:33 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 10:47:15 +0000 (12:47 +0200)
commit960895696ee774cfe824b3d0f25b6325f7277fd8
tree8d33ddd452c26a7a0154efe9eb9d8567e7269594
parentff0f5192a578cb9297dc57c88e84096feabf9491
dictionary.c: Added a oldvar parameter to the var_changed callback

The var_changed callback needs a copy of the old (unchanged) variable,
so that implementations can compare and act accordingly.
src/data/dictionary.c
src/data/vardict.h
src/data/variable.c