[vala/staging] libvaladoc: Remove unused Api.Class.get_finalize_function_name() API
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] libvaladoc: Remove unused Api.Class.get_finalize_function_name() API
- Date: Sun, 14 Jun 2020 08:03:03 +0000 (UTC)
commit 948edc40467d158bbfd2666424beae2d8b2758c0
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Jun 14 09:53:21 2020 +0200
libvaladoc: Remove unused Api.Class.get_finalize_function_name() API
libvaladoc/api/class.vala | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/libvaladoc/api/class.vala b/libvaladoc/api/class.vala
index 0dd8433c8..f0fe7b7c5 100644
--- a/libvaladoc/api/class.vala
+++ b/libvaladoc/api/class.vala
@@ -36,7 +36,6 @@ public class Valadoc.Api.Class : TypeSymbol {
private string? unref_function_name;
private string? ref_function_name;
private string? free_function_name;
- private string? finalize_function_name;
private string? param_spec_function_name;
private string? type_id;
private string? is_class_type_macro_name;
@@ -69,7 +68,6 @@ public class Valadoc.Api.Class : TypeSymbol {
this.unref_function_name = Vala.get_ccode_unref_function (data);
this.ref_function_name = Vala.get_ccode_ref_function (data);
- this.finalize_function_name = (data.is_fundamental () ? "%sfinalize".printf
(Vala.get_ccode_lower_case_prefix (data)) : null);
this.free_function_name = (data.is_compact ? Vala.get_ccode_free_function (data) : null);
this.take_value_function_cname = Vala.get_ccode_take_value_function (data);
@@ -151,16 +149,6 @@ public class Valadoc.Api.Class : TypeSymbol {
return free_function_name;
}
- /**
- * Returns the C function name that finalizes the
- * instances of this data type.
- *
- * @return the name of the C function or null
- */
- public string? get_finalize_function_name () {
- return finalize_function_name;
- }
-
/**
* Returns the cname of the GValue parameter spec function.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]