]> git.eshelyaron.com Git - emacs.git/commit
More fixes to JNI error checking
authorPo Lu <luangruo@yahoo.com>
Wed, 1 Mar 2023 01:30:01 +0000 (09:30 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 1 Mar 2023 01:30:01 +0000 (09:30 +0800)
commitf8a2619d981b7ba578378e592b878f08f29e4ba9
treedd251e37ca11afa32c820d8685bd01525ebc321a
parent49d5aa365793ee7d71d42e506160f5bb4341b476
More fixes to JNI error checking

* src/android.c (android_query_tree, android_get_geometry)
(android_translate_coordinates, android_query_battery):
Correctly handle result of GetTArrayElements.
(android_exception_check_nonnull): New function.
* src/android.h:
* src/androidselect.c (Fandroid_get_clipboard): Likewise.
src/android.c
src/android.h
src/androidselect.c