google / jni-bind

JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up).
Apache License 2.0
260 stars 31 forks source link

Add enum class support #309

Open jwhpryor opened 3 months ago

jwhpryor commented 3 months ago

Enum classes are essentially just syntactic sugar for public static fields on classes.

They can currently be implemented using existing JNI Bind features, so they should be added as a phase 2 compilation option.