format: Increase abstraction of fmt_number_style.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 15 Feb 2011 07:17:11 +0000 (23:17 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Feb 2011 00:57:02 +0000 (16:57 -0800)
commit2b0538e3901bfc1301729ab5b84e4d3e05ee4ccc
tree8be79c7f435b31f32b5018de3fbe03b264ce37de
parentbdebbd4db2d6c539eadb145f726382fe338e4219
format: Increase abstraction of fmt_number_style.

Upcoming commits will make some changes to fmt_number_style, so it
seems best to avoid having clients actually construct and modify
instances of this structure.  This commit makes that change.

We could take it one step further and add accessor functions even
for reading out the structure, but in my opinion that would be
overkill for this structure.
doc/dev/concepts.texi
src/data/format.c
src/data/format.h
src/data/settings.c