summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-14 16:02:01 +0000
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-14 16:02:01 +0000
commit38615993b0b13729cc2afaa69686f5bff17547c4 (patch)
treeb6a8682cdddd79de366568a02a988ceeb0119c63 /Include
parenta468adc76d7e946b073579b783b246eb5e53850e (diff)
downloadcpython-git-38615993b0b13729cc2afaa69686f5bff17547c4.tar.gz
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 799e6cfb4d..5e98f0b815 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -695,23 +695,24 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
# 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 */
+ /* module init functions inside the core need no external linkage */
+ /* except for Cygwin to handle embedding */
# if defined(__CYGWIN__)
# define PyMODINIT_FUNC __declspec(dllexport) PyObject*
# else /* __CYGWIN__ */
# define PyMODINIT_FUNC PyObject*
# 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) PyObject*
# else /* __cplusplus */