mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 10:42:42 +01:00
jni: Add comment
This commit is contained in:
parent
1995219b55
commit
ed09dddf09
@ -10,6 +10,9 @@ package jni
|
||||
#include <jni.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
// These definitions are duplicated with those in ctx_android.go of golang.org/x/mobile/internal/mobileinit package.
|
||||
// To be exact, this might cause undefined behavior, but some compilers including GCC work as a common extension.
|
||||
// (J.5.11 Multiple external definitions)
|
||||
JavaVM* current_vm;
|
||||
jobject current_ctx;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user