23 Apr
2012
23 Apr
'12
7:58 a.m.
2012/4/23 Mark Shannon <mark@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