summaryrefslogtreecommitdiff
path: root/ccode/valaccodewriter.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-13 15:44:44 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-13 15:44:44 +0000
commit206cd6716043d886c6531ca358f5b442c5ea991e (patch)
tree0d277104d825ce27f0aefa6734071809aabbf1b5 /ccode/valaccodewriter.vala
parent67916b6274ed6dfbc0200cca77a52f1f21848486 (diff)
downloadvala-206cd6716043d886c6531ca358f5b442c5ea991e.tar.gz
report warning when using obsolete syntax for non-null types
2008-04-13 Juerg Billeter <j@bitron.ch> * vala/valaparser.vala: report warning when using obsolete syntax for non-null types * */*.vala, */*.vapi: port to new syntax svn path=/trunk/; revision=1208
Diffstat (limited to 'ccode/valaccodewriter.vala')
-rw-r--r--ccode/valaccodewriter.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/ccode/valaccodewriter.vala b/ccode/valaccodewriter.vala
index 4e9253857..66b33ac65 100644
--- a/ccode/valaccodewriter.vala
+++ b/ccode/valaccodewriter.vala
@@ -68,7 +68,7 @@ public class Vala.CCodeWriter : Object {
/* at begin of line */
private bool _bol = true;
- public CCodeWriter (string! _filename) {
+ public CCodeWriter (string _filename) {
filename = _filename;
}
@@ -128,7 +128,7 @@ public class Vala.CCodeWriter : Object {
*
* @param s a string
*/
- public void write_string (string! s) {
+ public void write_string (string s) {
stream.printf ("%s", s);
_bol = false;
}
@@ -171,7 +171,7 @@ public class Vala.CCodeWriter : Object {
*
* @param text the comment text
*/
- public void write_comment (string! text) {
+ public void write_comment (string text) {
write_indent ();
stream.printf ("/*");
bool first = true;