diff options
author | Juerg Billeter <j@bitron.ch> | 2008-04-13 15:44:44 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-04-13 15:44:44 +0000 |
commit | 206cd6716043d886c6531ca358f5b442c5ea991e (patch) | |
tree | 0d277104d825ce27f0aefa6734071809aabbf1b5 /ccode/valaccodemacroreplacement.vala | |
parent | 67916b6274ed6dfbc0200cca77a52f1f21848486 (diff) | |
download | vala-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/valaccodemacroreplacement.vala')
-rw-r--r-- | ccode/valaccodemacroreplacement.vala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ccode/valaccodemacroreplacement.vala b/ccode/valaccodemacroreplacement.vala index 744f71136..f1fe7ccb3 100644 --- a/ccode/valaccodemacroreplacement.vala +++ b/ccode/valaccodemacroreplacement.vala @@ -29,25 +29,25 @@ public class Vala.CCodeMacroReplacement : CCodeNode { /** * The name of this macro. */ - public string! name { get; set construct; } + public string name { get; set construct; } /** * The replacement of this macro. */ - public string! replacement { get; set; } + public string replacement { get; set; } /** * The replacement expression of this macro. */ public CCodeExpression replacement_expression { get; set; } - public CCodeMacroReplacement (construct string! name, construct string! replacement) { + public CCodeMacroReplacement (construct string name, construct string replacement) { } - public CCodeMacroReplacement.with_expression (construct string! name, construct CCodeExpression! replacement_expression) { + public CCodeMacroReplacement.with_expression (construct string name, construct CCodeExpression replacement_expression) { } - public override void write (CCodeWriter! writer) { + public override void write (CCodeWriter writer) { writer.write_indent (); writer.write_string ("#define "); writer.write_string (name); |