Commit cbf48b15 authored by Jürg Billeter's avatar Jürg Billeter

Avoid conflicts for internal array size variables

Fixes bug 570547.
parent 8d62a1e8
......@@ -357,7 +357,7 @@ internal class Vala.CCodeArrayModule : CCodeMethodCallModule {
}
public override string get_array_size_cname (string array_cname) {
return "%s_size".printf (array_cname);
return "_%s_size_".printf (array_cname);
}
public override CCodeExpression get_array_size_cexpression (Expression array_expr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment