Open udnaan opened 5 years ago
@forman: Also, would having this merged open the door to being able to delete and reload the JVM?
@udnaan: Do you propose to make the change requested by @forman?
I'm okay with it as it seems an isolated enough change. I just can't guarantee that it works as I haven't tested it nor will have time for a few weeks to do so.
This makes it easy to embed jpy in an existing java/jni project.
Chiefly, the two changes are the building of a static library and
JPy_get_jvm
function which would use the JNI call to retrieve the existing JVM pointer.