}
private string? get_full_gir_name (Symbol sym) {
+ string? gir_fullname = sym.get_attribute_string ("GIR", "fullname");
+ if (gir_fullname != null) {
+ return gir_fullname;
+ }
+
string? gir_name = sym.get_attribute_string ("GIR", "name");
if (gir_name == null && sym is Namespace) {
if (!externals.contains (external)) {
externals.add (external);
}
+ string? gir_fullname = type_symbol.get_attribute_string ("GIR", "fullname");
+ if (gir_fullname != null) {
+ return gir_fullname;
+ }
var type_name = type_symbol.get_attribute_string ("GIR", "name") ?? type_symbol.name;
return "%s.%s".printf (type_symbol.source_reference.file.gir_namespace, type_name);
} else {
"DBus", "name", "no_reply", "result", "use_string_marshalling", "value", "signature", "visible", "timeout", "",
- "GIR", "name", ""
+ "GIR", "fullname", "name", ""
};
public weak GLib.Type[] param_types;
}
[CCode (get_value_function = "g_value_get_gtype", marshaller_type_name = "GTYPE", set_value_function = "g_value_set_gtype", type_id = "G_TYPE_GTYPE")]
+ [GIR (fullname = "GType")]
public struct Type : ulong {
public const GLib.Type BOXED;
public const GLib.Type ENUM;