mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +00:00
app: add Handle type and PlatformHandle()
On Android, allow access to JVM and Application context. Signed-off-by: Greg Pomerantz <gmp.gio@wow.st>
This commit is contained in:
committed by
Elias Naur
parent
175144fa99
commit
5ef176af81
@@ -22,7 +22,7 @@ JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved) {
|
||||
static const JNINativeMethod methods[] = {
|
||||
{
|
||||
.name = "runGoMain",
|
||||
.signature = "([B)V",
|
||||
.signature = "([BLandroid/content/Context;)V",
|
||||
.fnPtr = runGoMain
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user