-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enum classes #27
Comments
Although I do have it working with the 'freeze' workaround above, ES2020 supports static class properties, so I think the solution/question here is: Is there a way to add a "static const" property using quickjspp?
This results in a bunch of unresolved symbols when compiled. Am I doing it incorrectly, or are static properties not supported (yet). |
@projectitis my solution
|
How do you use it, @dodola? |
This comment was marked as outdated.
This comment was marked as outdated.
@projectitis simple enum support 0b72502 |
Hi ftk,
What is your suggested method of handling an enum class?
Should I convert my native c++ classes to use enums with explicit (integer) values, and then define the enum purely in JS, like this?
Or is there a quickjspp way? :)
The text was updated successfully, but these errors were encountered: