A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-April/118979.html below:

[Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?

[Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean? [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?Benjamin Peterson benjamin at python.org
Mon Apr 23 14:58:50 CEST 2012
2012/4/23 Mark Shannon <mark at hotpy.org>:
> Many (most?) of the function declarations in the CPython header files
> are annotated with the PyAPI_FUNC declaration.
> Similarly for data declarations and PyAPI_DATA
>
> What do they mean, exactly? From the name I would expect that they are a way
> of declaring a function or datum to be part of the API, but their usage
> seems to be more to do with linkage.

They define linkage on Windows. I actually don't know if they should
be applied to internal functions.



-- 
Regards,
Benjamin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4