includes/std: Added missing std::core::set_pattern_comment function

This commit is contained in:
Nik
2024-02-09 13:23:51 +01:00
committed by GitHub
parent b2bc248447
commit 0e2966f10d

View File

@@ -146,4 +146,14 @@ namespace std::core {
fn set_display_name(ref auto pattern, str name) {
builtin::std::core::set_display_name(pattern, name);
};
/**
Changes the comment attached to a pattern
@param pattern The pattern to modify
@param name The new comment of the pattern
*/
fn set_pattern_comment(ref auto pattern, str comment) {
builtin::std::core::set_pattern_comment(pattern, name);
};
}