summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-25 15:25:36 -0500
committerColin Walters <walters@verbum.org>2009-02-25 15:34:21 -0500
commit0b9dda0e725446882dca84b6a64688c8f0e5a4e3 (patch)
treefd7b7e5d75dc86ea18c1168310d80402fddf5c45 /giscanner/sourcescanner.h
parentc58582c7a88a95616fa87b81517ab8a2a76af92f (diff)
downloadgobject-introspection-0b9dda0e725446882dca84b6a64688c8f0e5a4e3.tar.gz
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 'giscanner/sourcescanner.h')
-rw-r--r--giscanner/sourcescanner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/sourcescanner.h b/giscanner/sourcescanner.h
index bbc49770..a49de5c7 100644
--- a/giscanner/sourcescanner.h
+++ b/giscanner/sourcescanner.h
@@ -116,6 +116,8 @@ struct _GISourceSymbol
gboolean const_int_set;
int const_int;
char *const_string;
+ gboolean const_double_set;
+ double const_double;
char *source_filename;
};