mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
lib/std: Added std::core::member_count and std::core::has_member functions
This commit is contained in:
@@ -46,4 +46,12 @@ namespace std::core {
|
||||
return builtin::std::core::array_index();
|
||||
};
|
||||
|
||||
}
|
||||
fn member_count(auto pattern) {
|
||||
return builtin::std::core::member_count(pattern);
|
||||
};
|
||||
|
||||
fn has_member(auto pattern, str name) {
|
||||
return builtin::std::core::has_member(pattern, name);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user