mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
b97f7cb73f
Replace designated initializer lookup table with a simple switch statement for C++ compatibility. The switch approach is cleaner and works perfectly in both C and C++ modes. Co-authored-by: Claude <noreply@anthropic.com>