mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-07 00:19:53 +01: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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| embindgen.py | ||
| templates.py | ||