diff options
Diffstat (limited to 'native/include/android/native_activity.h')
-rw-r--r-- | native/include/android/native_activity.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/native/include/android/native_activity.h b/native/include/android/native_activity.h index a361846..bc70f88 100644 --- a/native/include/android/native_activity.h +++ b/native/include/android/native_activity.h @@ -60,7 +60,14 @@ typedef struct ANativeActivity { JNIEnv* env; /** - * The NativeActivity Java class. + * The NativeActivity object handle. + * + * IMPORTANT NOTE: This member is mis-named. It should really be named + * 'activity' instead of 'clazz', since it's a reference to the + * NativeActivity instance created by the system for you. + * + * We unfortunately cannot change this without breaking NDK + * source-compatibility. */ jobject clazz; |