Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-25 20:25:36 (GMT)
committer Colin Walters <walters@verbum.org>2009-02-25 20:34:21 (GMT)
commit0b9dda0e725446882dca84b6a64688c8f0e5a4e3 (patch)
treefd7b7e5d75dc86ea18c1168310d80402fddf5c45 /tests/scanner/foo.h
parentc58582c7a88a95616fa87b81517ab8a2a76af92f (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.h')
-rw-r--r--tests/scanner/foo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index d3dd29f..da30df3 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -8,6 +8,8 @@
#define FOO_DEFINE_SHOULD_BE_EXPOSED "should be exposed"
+#define FOO_PIE_IS_TASTY 3.14159
+
#define FOO_TYPE_INTERFACE (foo_interface_get_type ())
#define FOO_INTERFACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FOO_TYPE_INTERFACE, FooInterface))
#define FOO_IS_INTERFACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FOO_TYPE_INTERFACE))