comparison Include/Python.h @ 23746:43ddcdcd3c71 legacy-trunk

Patch #505375: Make doc strings optional.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 09 Jun 2002 13:33:54 +0000
parents 5f978196fd3d
children f7ce696979e1
comparison
equal deleted inserted replaced
23745:38832000f7e9 23746:43ddcdcd3c71
144 144
145 #ifdef HAVE_PTH 145 #ifdef HAVE_PTH
146 /* GNU pth user-space thread support */ 146 /* GNU pth user-space thread support */
147 #include <pth.h> 147 #include <pth.h>
148 #endif 148 #endif
149
150 /* Define macros for inline documentation. */
151 #define PyDoc_VAR(name) static char name[]
152 #define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
153 #ifdef WITH_DOC_STRINGS
154 #define PyDoc_STR(str) str
155 #else
156 #define PyDoc_STR(str) ""
157 #endif
158
149 #endif /* !Py_PYTHON_H */ 159 #endif /* !Py_PYTHON_H */