Commit 63ca609c authored by Evan Nemerson's avatar Evan Nemerson

vapigen: Allow metadata to specify the type_name of properties.

parent 788edff0
......@@ -2164,6 +2164,8 @@ public class Vala.GIdlParser : CodeVisitor {
if (eval (nv[1]) == "1") {
prop.get_accessor.value_type.value_owned = true;
}
} else if (nv[0] == "type_name") {
prop.property_type = get_type_from_string (eval (nv[1]));
}
}
}
......
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