]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: Remove unused Api.Class.get_finalize_function_name() API
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 14 Jun 2020 07:53:21 +0000 (09:53 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 14 Jun 2020 07:53:51 +0000 (09:53 +0200)
libvaladoc/api/class.vala

index 0dd8433c8fad8fbb0fb92817b0eb2ec4a4796734..f0fe7b7c5c29cfd48475086581d1bae2ebe41c52 100644 (file)
@@ -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.
         */