mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-13 06:43:35 +00:00
Add string16 and cstring16 (UTF-16 based strings)
This commit is contained in:
@@ -815,6 +815,12 @@ gb_internal bool signature_parameter_similar_enough(Type *x, Type *y) {
|
||||
if (sig_compare(is_type_cstring, is_type_u8_multi_ptr, x, y)) {
|
||||
return true;
|
||||
}
|
||||
if (sig_compare(is_type_cstring16, is_type_u16_ptr, x, y)) {
|
||||
return true;
|
||||
}
|
||||
if (sig_compare(is_type_cstring16, is_type_u16_multi_ptr, x, y)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (sig_compare(is_type_uintptr, is_type_rawptr, x, y)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user