variable.c: Add _quiet versions of the var_set_ methods and use in var_clone
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 04:52:10 +0000 (06:52 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 10:28:02 +0000 (12:28 +0200)
commit9325ca41a812eb08fa6747dd7650a44aa8e14299
tree0b2602d5abdb67e8221197641c57a94a1a49fddc
parentfe7fdc98b6967092d02a98227080865e0c8e22ec
variable.c: Add _quiet versions of the var_set_ methods and use in var_clone

var_clone doesn't need to provoke callbacks, since the new variable does not
(yet) have a dictionary  hence the callbacks can do nothing.  Also the callbacks
cause problems for later commits, since they themselves could call var_clone.

This change therefore defines _quiet versions of all the var_set methods, which
do not generate any callbacks, and uses those versions in the implementation
of var_clone.
src/data/variable.c