dictionary.c: Added a WHAT argument to dict_var_changed callback
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 05:23:16 +0000 (07:23 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 10:31:09 +0000 (12:31 +0200)
commitff0f5192a578cb9297dc57c88e84096feabf9491
tree15a81eff544139f3d3a988249d9e013d8bcc4792
parent9325ca41a812eb08fa6747dd7650a44aa8e14299
dictionary.c: Added a WHAT argument to dict_var_changed callback

Defined some bitwise constants to indicate which aspect of a variable has
changed.  Added an argument to the dict_var_changed callback taking an
argument which contains a combination of these types.

This is used in later commits to avoid the callback implementation having
to guess what exactly changed.
src/data/dictionary.c
src/data/vardict.h
src/data/variable.c
src/data/variable.h