mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 01:14:40 +00:00
Add list of C identifier suggestions (types and keywords)
This commit is contained in:
@@ -106,6 +106,9 @@ gb_internal gb_inline bool str_eq_ignore_case(String const &a, String const &b)
|
||||
|
||||
template <isize N>
|
||||
gb_internal gb_inline bool str_eq_ignore_case(String const &a, char const (&b_)[N]) {
|
||||
if (a.len != N-1) {
|
||||
return false;
|
||||
}
|
||||
String b = {cast(u8 *)b_, N-1};
|
||||
return str_eq_ignore_case(a, b);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user