Skip to content
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

Update from GSW-C and add declspec for dll export #173

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

efiring
Copy link
Member

@efiring efiring commented Jul 19, 2024

This is in response to geoffstanley/neutralocean#15.

Prior to this PR, direct access to the C functions via ctypes worked only on Linux and Mac. This PR makes it work on Windows. A simple test is included. The change is propagated back to GSW-C by TEOS-10/GSW-C#69.

The update from GSW-C also pulls in the new C "infunnel" function which will require significant work to wrap, either by modifying the automated wrapping machinery or by making a one-off wrapper for it. That is left for a subsequent PR.

@efiring efiring requested a review from ocefpaf July 19, 2024 20:12
@ocefpaf
Copy link
Member

ocefpaf commented Jul 20, 2024

The change is propagated back to GSW-C by TEOS-10/GSW-C#69.

I'm fine with this. Maybe we could merge TEOS-10/GSW-C#69 first and backport the test too? If you think it is too much trouble, let's merge as is.

@efiring efiring merged commit 489ba32 into TEOS-10:main Jul 20, 2024
34 checks passed
@efiring efiring deleted the add_declspec branch July 20, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants