]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codegen: More use of get_ccode_type_name()
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 5 Mar 2021 18:32:38 +0000 (19:32 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 5 Mar 2021 18:32:38 +0000 (19:32 +0100)
codegen/valaccodeattribute.vala

index fdd5180e941a0c59298dffdb6e14d5ca760f06e9..a521bbccf17f54b21187c9688a18835af43a69ff 100644 (file)
@@ -842,7 +842,7 @@ public class Vala.CCodeAttribute : AttributeCache {
                        return "void";
                } else if (node is ClassType) {
                        var type = (ClassType) node;
-                       return "%sClass*".printf (get_ccode_name (type.class_symbol));
+                       return "%s*".printf (get_ccode_type_name (type.class_symbol));
                } else if (node is InterfaceType) {
                        var type = (InterfaceType) node;
                        return "%s*".printf (get_ccode_type_name (type.interface_symbol));