You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ion.
When using separate getter and setter functions for class properties the
setter function did not have policies applied to it. This caused setters
with raw pointers to fail. For now, use the supplied return value policy
to allow pointers. In the future we should probably add separate polices
for arguments, but that will be a much bigger change.
Note: I've added a lot more testing for properties and return value
polices. This has highlighted a few issues where we seem to be creating
extra copies.
Fixes: emscripten-core#24225
Please include the following in your bug report:
Version of emscripten/emsdk:
Failing command line in full:
Repro: https://github.com/GulgDev/embind-property-repro
The text was updated successfully, but these errors were encountered: