-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant JNIEnv::get_<type>_array_elements methods
Types like `JByteArray` are now simply aliases for `JPrimitiveArray<T>` and can be passed to the generic `get_array_elements` instead. For now the `test_get_array_elements` tests have been kept at least for the sake of checking the data integrity from updating array elements of different types/sizes, even though they now utilize the same `get_array_elements` code.
- Loading branch information
Showing
2 changed files
with
12 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters