gobject-introspection r196 - trunk/tests/parser



Author: johan
Date: Mon Apr 21 18:39:04 2008
New Revision: 196
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=196&view=rev

Log:
mark them as const and comment out

Modified:
   trunk/tests/parser/foo-object.h

Modified: trunk/tests/parser/foo-object.h
==============================================================================
--- trunk/tests/parser/foo-object.h	(original)
+++ trunk/tests/parser/foo-object.h	Mon Apr 21 18:39:04 2008
@@ -103,9 +103,11 @@
 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 */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]