mirror of
https://github.com/opencv/opencv.git
synced 2026-11-22 09:23:44 -06:00
Fix string property bindings in JS generator #27726 Fixes #27712 This PR fixes the binding generation logic in embindgen.py to correctly handle enum and string properties: Enum properties now use binding_utils::underlying_ptr(&Class::property). Standard string properties are bound directly with &Class::property. Other properties continue to use the default template. Testing: Verified generated bindings locally to ensure the expected output for enums and strings.