1313
1414namespace boost { namespace python {
1515
16- #ifdef HAS_CXX11
16+ # ifdef HAS_CXX11
1717// Use to activate the Py_MOD_GIL_NOT_USED flag.
1818class mod_gil_not_used {
1919public:
@@ -39,7 +39,7 @@ inline bool gil_not_used_option(F &&, O &&...o) {
3939}
4040
4141}
42- #endif // HAS_CXX11
42+ # endif // HAS_CXX11
4343
4444namespace detail {
4545
@@ -51,13 +51,13 @@ BOOST_PYTHON_DECL PyObject* init_module(PyModuleDef&, void(*)(), bool gil_not_us
5151
5252BOOST_PYTHON_DECL int exec_module (PyObject*, void (*)());
5353
54- # endif
54+ # endif // PY_VERSION_HEX >= 0x03050000
5555
56- #else
56+ # else // PY_VERSION_HEX >= 0x03000000
5757
5858BOOST_PYTHON_DECL PyObject* init_module (char const * name, void (*)());
5959
60- #endif
60+ # endif // PY_VERSION_HEX >= 0x03000000
6161
6262}}}
6363
@@ -159,9 +159,9 @@ BOOST_PYTHON_DECL PyObject* init_module(char const* name, void(*)());
159159 } \
160160 void BOOST_PP_CAT (init_module_, name)()
161161
162- # endif
162+ # endif // PY_VERSION_HEX >= 0x03050000
163163
164- # else
164+ # else // ! PY_VERSION_HEX >= 0x03000000
165165
166166# define _BOOST_PYTHON_MODULE_INIT (name ) \
167167 void BOOST_PP_CAT (init,name)() \
@@ -171,7 +171,7 @@ BOOST_PYTHON_DECL PyObject* init_module(char const* name, void(*)());
171171} \
172172 void BOOST_PP_CAT (init_module_,name)()
173173
174- # endif
174+ # endif // PY_VERSION_HEX >= 0x03000000
175175
176176# if defined(HAS_CXX11) && (PY_VERSION_HEX >= 0x03000000)
177177# define BOOST_PYTHON_MODULE_INIT (name, ...) \
@@ -189,8 +189,8 @@ extern "C" BOOST_SYMBOL_EXPORT _BOOST_PYTHON_MODULE_INIT(name)
189189 void BOOST_PP_CAT (init_module_,name)(); \
190190extern " C" BOOST_SYMBOL_EXPORT _BOOST_PYTHON_MODULE_MULTI_PHASE_INIT (name)
191191
192- # endif
192+ # endif // PY_VERSION_HEX >= 0x03050000
193193
194- # endif
194+ # endif // BOOST_PYTHON_MODULE_INIT
195195
196196#endif // MODULE_INIT_DWA20020722_HPP
0 commit comments