-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement SAFEARRAY access and bugfix VARIANT #618
Conversation
e0e51c2
to
a58f930
Compare
@@ -43,6 +43,7 @@ Features | |||
* [#608](https://github.com/java-native-access/jna/pull/608): Mavenize the build process - change parent and native pom artifactId/name to differentiate in IDE and build tools. [@bhamail](https://github.com/bhamail) | |||
* [#613](https://github.com/java-native-access/jna/pull/613): Make Win32Exception extend LastErrorException [@lgoldstein](https://github.com/lgoldstein). | |||
* [#613](https://github.com/java-native-access/jna/pull/614): Added standard 'Kernel32Util#closeHandle' method that throws a Win32Exception if failed to close the handle [@lgoldstein](https://github.com/lgoldstein). | |||
* [#618](https://github.com/java-native-access/jna/pull/618): Implement SAFEARRAY access and bugfix VARIANT [@matthiasblaesing](https://github.com/matthiasblaesing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing period again. The fact that this is the only problem I find says a lot ;)
This is nice work, also maybe @lgoldstein can take a look? |
a58f930
to
8580954
Compare
The CHANGES.md entry was adjusted - is there any way I can help with review? |
Rebase and squash it. I'll take a look again. |
8580954
to
6f802b8
Compare
- Bind more functions from OleAut32.dll - Fix bug in function bindings from OleAut32.dll (long vs. LONG) - Ensure SAFEARRAY.rgsabound is completely accessible - Modify Variant#getValue and Variant#setValue to allow flexible access to data - Add object oriented helper methods to SAFEARRAY and move functionality from limited methods in OleAutoUtil to SAFEARRAY - Add unittests based on windows search provider that excercise SAFEARRAY functions - Added a helper for optimized conversion from SAFEARRAY to Object[] Closes java-native-access#522
6f802b8
to
57bf211
Compare
I rebased the changeset onto latest master. For the request to squash the commits - this won't help with review and will destroy the logical structure. The commits are each focused on area:
If forced I will squash these, but I don't see benefit from that. |
Merged. |
Motivation: How we used QuicConnectEvent to notify about connection migration was not correct at all. Let's remove it for now as we will introduce something better once cloudflare/quiche#1660 was merged into quiche. Modifications: Remove QuicConnectEvent Result: Get rid of incorrect implementation to prepare for adding a proper one
Please see individual commits for details.