native
native copied to clipboard
Refactor `dartjni.c`
We could use C++ instead. This way a global C++ object with constructors and destructors could be used.
See: https://github.com/dart-lang/native/pull/1163#discussion_r1609692284