gtkdoc-scangobj: serialise doubles and floats always with a decimal dot
commit280c2d0654be3f39bd357c1dee9919ef1c34be21
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 4 Oct 2010 09:08:47 +0000 (4 12:08 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 4 Oct 2010 09:08:47 +0000 (4 12:08 +0300)
treedbc0e5f6743d7409a4d20cd4da4c2505802057b0
parent8688e1d689d498f541d0f64ca141b503c9620837
gtkdoc-scangobj: serialise doubles and floats always with a decimal dot

Make sure floats and double property values are output with a decimal dot (and
not e.g. a comma) irrespective of the current locale. g_ascii_formatd() is used
here instead of g_ascii_dtostr() because we want nice human-readable numbers and
do not need the exact same bit representation when deserialising.

Other parts of gtk-doc may need fixing as well to make sure to always
deserialise floats and doubles in C locale.
gtkdoc-scangobj.in