mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
98c33acc75
mrb_method_cache_clear() was called unconditionally from class.c and state.c, but the function definition was guarded by MRB_NO_METHOD_CACHE. This caused linker errors when building with MRB_NO_METHOD_CACHE defined. Add empty macro definition when MRB_NO_METHOD_CACHE is defined, matching the existing pattern used for mrb_mc_clear_by_class(). Co-authored-by: Claude <noreply@anthropic.com>