diff options
author | Colin Walters <walters@verbum.org> | 2009-02-25 20:25:36 (GMT) |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-02-25 20:34:21 (GMT) |
commit | 0b9dda0e725446882dca84b6a64688c8f0e5a4e3 (patch) | |
tree | fd7b7e5d75dc86ea18c1168310d80402fddf5c45 /tests/scanner/foo-1.0-expected.gir | |
parent | c58582c7a88a95616fa87b81517ab8a2a76af92f (diff) |
Bug 555964 - Parse floating-point #defines
Previously we just supported int and string, add double to this.
Technically we should probably differentiate between float and
double, but it's not likely to be very useful in practice to do so.
Diffstat (limited to 'tests/scanner/foo-1.0-expected.gir')
-rw-r--r-- | tests/scanner/foo-1.0-expected.gir | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scanner/foo-1.0-expected.gir b/tests/scanner/foo-1.0-expected.gir index 2f82175..4bd7745 100644 --- a/tests/scanner/foo-1.0-expected.gir +++ b/tests/scanner/foo-1.0-expected.gir @@ -399,6 +399,9 @@ and/or use gtk-doc annotations. --> </parameters> </callback> </record> + <constant name="PIE_IS_TASTY" value="3.14159"> + <type name="double"/> + </constant> <record name="Rectangle" c:type="FooRectangle"> <field name="x" writable="1"> <type name="int" c:type="gint"/> |