summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-14 16:10:22 (GMT)
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-14 16:10:22 (GMT)
commit93db23ef2f128abae78101c556675d1f84c8f6e6 (patch)
tree4d3616509ed2400566bd4ca4d9f2067d0664e5a3 /Include
parent3edba45312386527fe5c2e3c2011025877cadc81 (diff)
downloadcpython-93db23ef2f128abae78101c556675d1f84c8f6e6.zip
cpython-93db23ef2f128abae78101c556675d1f84c8f6e6.tar.gz
cpython-93db23ef2f128abae78101c556675d1f84c8f6e6.tar.bz2
Merged revisions 84810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84810 | daniel.stutzbach | 2010-09-14 11:02:01 -0500 (Tue, 14 Sep 2010) | 1 line Remove pointers to a FAQ entry that no longer exists. Incorporate some text from the old FAQ into the docs ........
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 7c2dab0..1abc14c 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -724,23 +724,24 @@ extern int fdatasync(int);
# ifdef Py_BUILD_CORE
# define PyAPI_FUNC(RTYPE) __declspec(dllexport) RTYPE
# define PyAPI_DATA(RTYPE) extern __declspec(dllexport) RTYPE
- /* module init functions inside the core need no external linkage */
- /* except for Cygwin to handle embedding (FIXME: BeOS too?) */
+ /* module init functions inside the core need no external linkage */
+ /* except for Cygwin to handle embedding (FIXME: BeOS too?) */
# if defined(__CYGWIN__)
# define PyMODINIT_FUNC __declspec(dllexport) void
# else /* __CYGWIN__ */
# define PyMODINIT_FUNC void
# endif /* __CYGWIN__ */
# else /* Py_BUILD_CORE */
- /* Building an extension module, or an embedded situation */
- /* public Python functions and data are imported */
- /* Under Cygwin, auto-import functions to prevent compilation */
- /* failures similar to http://python.org/doc/FAQ.html#3.24 */
+ /* Building an extension module, or an embedded situation */
+ /* public Python functions and data are imported */
+ /* Under Cygwin, auto-import functions to prevent compilation */
+ /* failures similar to those described at the bottom of 4.1: */
+ /* http://docs.python.org/extending/windows.html#a-cookbook-approach */
# if !defined(__CYGWIN__)
# define PyAPI_FUNC(RTYPE) __declspec(dllimport) RTYPE
# endif /* !__CYGWIN__ */
# define PyAPI_DATA(RTYPE) extern __declspec(dllimport) RTYPE
- /* module init functions outside the core must be exported */
+ /* module init functions outside the core must be exported */
# if defined(__cplusplus)
# define PyMODINIT_FUNC extern "C" __declspec(dllexport) void
# else /* __cplusplus */