diff options
author | Johan Dahlin <johan@src.gnome.org> | 2008-04-21 18:39:04 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-04-21 18:39:04 +0000 |
commit | 9e00ec6c10ae7d795b739ce4cf8f293e7a075894 (patch) | |
tree | d5d8ad58603616bc962ca2487cfed36046ec400e /tests | |
parent | 05e22fdd77fc726ca4cab42a5fb8dcc23bda2487 (diff) | |
download | gobject-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.h | 8 |
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 */ |