mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
768a1f7752
Move casecmp_p from mruby-string-ext and mruby-encoding to core as mrb_strcasecmp_p (predicate function returning mrb_bool). Add MRB_STR_CASECMP_P macro to internal.h for comparing mrb_value strings with literal strings. This eliminates code duplication and avoids static function name collision for future amalgamation support. Co-authored-by: Claude <noreply@anthropic.com>