2012/4/23 Mark Shannon <m...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com