[vala/staging] codegen: More use of get_ccode_type_name()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] codegen: More use of get_ccode_type_name()
- Date: Fri, 5 Mar 2021 18:37:43 +0000 (UTC)
commit 69017266f214e8a9d38a2748db2c485a9bc6e5a3
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Mar 5 19:32:38 2021 +0100
codegen: More use of get_ccode_type_name()
codegen/valaccodeattribute.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala
index fdd5180e9..a521bbccf 100644
--- a/codegen/valaccodeattribute.vala
+++ b/codegen/valaccodeattribute.vala
@@ -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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]