From f0db59ae101fb324da745e877071fff18850623e Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 20 Jun 2023 20:52:10 +0100 Subject: [PATCH] Add GetModule to JNINativeInterface_ GetModule was added to JNI version 9 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ src/lib.rs | 1 + 2 files changed, 31 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2109de2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added + +- GetModule was added to `JNINativeInterface` ([#22](https://github.com/jni-rs/jni-sys/pull/22)) + +### Fixed + + +### Changed + + +### Removed + + +## [0.3.0] - 2017-07-20 + +### Changed + +- Changed jvalue into a union + +[unreleased]: https://github.com/jni-rs/jni-sys/compare/v0.3.0...HEAD +[0.3.0]: https://github.com/jni-rs/jni-sys/compare/v0.2.5...v0.3.0 diff --git a/src/lib.rs b/src/lib.rs index 1330e77..2fec4b9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1391,6 +1391,7 @@ pub struct JNINativeInterface_ { Option jlong>, pub GetObjectRefType: Option jobjectRefType>, + pub GetModule: Option jobject>, } impl Clone for JNINativeInterface_ {