diff --git a/godot-codegen/src/conv/type_conversions.rs b/godot-codegen/src/conv/type_conversions.rs index c136671cf..83002c3c3 100644 --- a/godot-codegen/src/conv/type_conversions.rs +++ b/godot-codegen/src/conv/type_conversions.rs @@ -34,6 +34,9 @@ fn to_hardcoded_rust_ident(full_ty: &GodotTy) -> Option<&str> { ("int", Some("uint32")) => "u32", ("int", Some("uint16")) => "u16", ("int", Some("uint8")) => "u8", + // TODO handle char types as `char`? + ("int", Some("char16")) => "u16", + ("int", Some("char32")) => "u32", ("int", Some(meta)) => panic!("unhandled type int with meta {meta:?}"), // Floats (with single precision builds)