We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e6889a + da53d04 commit cdf6c5cCopy full SHA for cdf6c5c
godot-codegen/src/conv/type_conversions.rs
@@ -34,6 +34,9 @@ fn to_hardcoded_rust_ident(full_ty: &GodotTy) -> Option<&str> {
34
("int", Some("uint32")) => "u32",
35
("int", Some("uint16")) => "u16",
36
("int", Some("uint8")) => "u8",
37
+ // TODO handle char types as `char`?
38
+ ("int", Some("char16")) => "u16",
39
+ ("int", Some("char32")) => "u32",
40
("int", Some(meta)) => panic!("unhandled type int with meta {meta:?}"),
41
42
// Floats (with single precision builds)
0 commit comments