summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-04-21 18:09:31 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-04-21 18:09:31 +0000
commite3da044b297b411208414e5e6d51454c764f1717 (patch)
tree72590cb381ec1d0ce795f5a99c799b800d8aba56
parent0cfa30073533ee8f9763a0aed7e7e7de2d4dfdc4 (diff)
downloadgobject-introspection-e3da044b297b411208414e5e6d51454c764f1717.tar.gz
Add a couple of constants.
2008-04-21 Johan Dahlin <johan@gnome.org> * tests/parser/foo-object.h: Add a couple of constants. svn path=/trunk/; revision=194
-rw-r--r--ChangeLog2
-rw-r--r--tests/parser/foo-object.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 30c4c466..97bee576 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-04-21 Johan Dahlin <johan@gnome.org>
+ * tests/parser/foo-object.h: Add a couple of constants.
+
* giscanner/gidlwriter.py:
* giscanner/gobjecttreebuilder.py:
* giscanner/treebuilder.py:
diff --git a/tests/parser/foo-object.h b/tests/parser/foo-object.h
index 59f9fe20..941f113e 100644
--- a/tests/parser/foo-object.h
+++ b/tests/parser/foo-object.h
@@ -103,6 +103,10 @@ GType foo_boxed_get_type (void) G_GNUC_CONST;
FooBoxed* foo_boxed_new (void);
void foo_boxed_method (FooBoxed* boxed);
+char *FOO_CONSTANT_STR = "foo-constant-str";
+int FOO_CONSTANT_INT = 10;
+float FOO_CONSTANT_FLOAT = 10;
+
/* Invalid comments, should be ignored */
/* @ */