Are there more detailed docs on embound enums somewhere? #19232
kirkwaiblinger
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
All I can find is https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#enums.
However, this appears to be incomplete. In my project, when I follow the steps in the docs, I get objects, not the integers from c++:
Is this expected? It's far from what I would have expected from that section of the docs.
If this is expected, I would also like to understand whether this is just a POJO or whether it has some c++ lifetime semantics or something.
Beta Was this translation helpful? Give feedback.
All reactions