Skip to content

Commit 0164c79

Browse files
committed
exports fix 1
1 parent 1cfd683 commit 0164c79

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Doc/c-api/intro.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ complete listing.
381381
Macro used to declare a symbol (function or data) as exported from a shared library.
382382
On Windows, this expands to ``__declspec(dllexport)``.
383383
On other platforms with visibility support, it
384-
expands to ``__attribute__((visibility("default")))``.
384+
expands to ``__attribute__((visibility("default")))``.
385385

386386

387387
.. c:macro:: Py_IMPORTED_SYMBOL
@@ -399,16 +399,17 @@ complete listing.
399399

400400
Example usage::
401401

402-
PyAPI_DATA(PyObject *) _Py_NoneStruct;
402+
PyAPI_DATA(PyObject *) _Py_NoneStruct;
403403

404404

405405
.. c:macro:: Py_LOCAL_SYMBOL
406406
407407
Macro used to declare a symbol as local to the shared library (hidden).
408408
It ensures the symbol is not exported.
409409
On platforms with visibility support, it
410-
expands to ``__attribute__((visibility("hidden")))``.
411-
410+
expands to ``__attribute__((visibility("hidden")))``.
411+
412+
412413
.. _api-objects:
413414

414415
Objects, Types and Reference Counts

0 commit comments

Comments
 (0)