8000 API: Default to hidden visibility for API tables by seberg · Pull Request #26103 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

API: Default to hidden visibility for API tables #26103

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

Merged
merged 7 commits into from
Apr 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
DOC: Fix versionadded/changed and slightly tweak
  • Loading branch information
seberg committed Apr 18, 2024
commit e99f012026ab832364e7594d1112533a2b8acf6a
5 changes: 2 additions & 3 deletions doc/source/reference/c-api/array.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3923,9 +3923,8 @@ are defined:
The ``PY_ARRAY_UNIQUE_SYMBOL`` mechanism additionally mangles the names to
avoid conflicts.


.. versionchanged::
NumPy 2.0 exports the headers to avoid sharing the table outside of a
NumPy 2.1 changed the headers to avoid sharing the table outside of a
single shared object/dll (this was always the case on Windows).
Please see :c:macro:`NPY_API_SYMBOL_ATTRIBUTE` for details.

Expand Down Expand Up @@ -3961,7 +3960,7 @@ the C-API is needed then some additional steps must be taken.

.. c:macro:: NPY_API_SYMBOL_ATTRIBUTE

.. versionadded:: 2.0
.. versionadded:: 2.1

An additional symbol which can be used to share e.g. visibility beyond
shared object boundaries.
Expand Down
0