opencv/modules/js/generator
Timi 9282afa0c7
Merge pull request #27726 from DasoTD:fix/string-property-binding
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.
2025-09-25 10:59:27 +03:00
..
CMakeLists.txt Fixed bug in ifdef state machine in header parser for bindings. 2025-06-02 12:41:39 +03:00
embindgen.py Merge pull request #27726 from DasoTD:fix/string-property-binding 2025-09-25 10:59:27 +03:00
templates.py Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-12-04 18:26:58 +00:00