foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "GIR") {
process_gir_attribute (a);
} else if (a.name == "Experimental") {
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "Experimental") {
process_experimental_attribute (a);
}
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "Experimental") {
process_experimental_attribute (a);
}
process_ccode_attribute (a);
} else if (a.name == "Flags") {
is_flags = true;
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
}
}
}
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "Experimental") {
process_experimental_attribute (a);
}
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "Experimental") {
process_experimental_attribute (a);
}
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "Experimental") {
process_experimental_attribute (a);
}
} else if (a.name == "NoArrayLength") {
Report.warning (source_reference, "NoArrayLength attribute is deprecated, use [CCode (array_length = false)] instead.");
no_array_length = true;
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "NoThrow") {
get_error_types ().clear ();
} else if (a.name == "Experimental") {
if (a.has_argument ("blurb")) {
blurb = a.get_string ("blurb");
}
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
}
}
}
has_emitter = true;
} else if (a.name == "Signal") {
process_signal_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "Experimental") {
process_experimental_attribute (a);
}
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
} else if (a.name == "GIR") {
process_gir_attribute (a);
} else if (a.name == "Experimental") {
return isclass;
}
- /**
- * Process a [Deprecated] attribute
- */
- public virtual void process_deprecated_attribute (Attribute attr) {
- if (attr.name != "Deprecated") {
- return;
- }
- }
-
/**
* Check to see if the symbol has been deprecated, and emit a warning
* if it has.