summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2008-04-21 18:39:04 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-04-21 18:39:04 +0000
commit9e00ec6c10ae7d795b739ce4cf8f293e7a075894 (patch)
treed5d8ad58603616bc962ca2487cfed36046ec400e /tests
parent05e22fdd77fc726ca4cab42a5fb8dcc23bda2487 (diff)
downloadgobject-introspection-9e00ec6c10ae7d795b739ce4cf8f293e7a075894.tar.gz
mark them as const and comment out
svn path=/trunk/; revision=196
Diffstat (limited to 'tests')
-rw-r--r--tests/parser/foo-object.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/parser/foo-object.h b/tests/parser/foo-object.h
index 941f113e..df6d6159 100644
--- a/tests/parser/foo-object.h
+++ b/tests/parser/foo-object.h
@@ -103,9 +103,11 @@ 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;
+/* FIXME: Scanner does not support this yet
+const char *FOO_CONSTANT_STR = "foo-constant-str";
+const int FOO_CONSTANT_INT = 10;
+const float FOO_CONSTANT_FLOAT = 10;
+*/
/* Invalid comments, should be ignored */