mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
9282afa0c7
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.