Hunter Richards

Results 1 comments of Hunter Richards

You can do something like this: **`my_enum.cc`** ```cpp enum OldStyle { OLD_STYLE_ONE, OLD_STYLE_TWO }; enum class NewStyle { ONE, TWO }; EMSCRIPTEN_BINDINGS(my_enum_example) { enum_("OldStyle") .value("ONE", OLD_STYLE_ONE) .value("TWO", OLD_STYLE_TWO) ; enum_("NewStyle")...