@@ -19,15 +19,15 @@ The full license is in the LICENSE file, distributed with this software.
19
19
20
20
/* in python 3, we cannot intern bytes objects so this is always false */
21
21
#define PyString_CHECK_INTERNED (cs ) 0
22
- #endif /* !COMPILING_IN_PY2 */
22
+ #endif // !COMPILING_IN_PY2
23
23
24
24
#ifndef Py_TPFLAGS_HAVE_GETCHARBUFFER
25
25
#define Py_TPFLAGS_HAVE_GETCHARBUFFER 0
26
- #endif
26
+ #endif // Py_TPFLAGS_HAVE_GETCHARBUFFER
27
27
28
28
#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
29
29
#define Py_TPFLAGS_HAVE_NEWBUFFER 0
30
- #endif
30
+ #endif // Py_TPFLAGS_HAVE_NEWBUFFER
31
31
32
32
static PyObject * badmove ; /* bad move exception class */
33
33
@@ -85,14 +85,14 @@ static PyBufferProcs stolenbuf_as_buffer = {
85
85
(getbufferproc ) stolenbuf_getbuffer ,
86
86
};
87
87
88
- #else /* Python 3 */
88
+ #else // Python 3
89
89
90
90
static PyBufferProcs stolenbuf_as_buffer = {
91
91
(getbufferproc ) stolenbuf_getbuffer ,
92
92
NULL ,
93
93
};
94
94
95
- #endif /* COMPILING_IN_PY2 */
95
+ #endif // COMPILING_IN_PY2
96
96
97
97
PyDoc_STRVAR (stolenbuf_doc ,
98
98
"A buffer that is wrapping a stolen bytes object's buffer." );
@@ -208,7 +208,7 @@ static PyModuleDef move_module = {
208
208
-1 ,
209
209
methods ,
210
210
};
211
- #endif /* !COMPILING_IN_PY2 */
211
+ #endif // !COMPILING_IN_PY2
212
212
213
213
PyDoc_STRVAR (
214
214
badmove_doc ,
@@ -231,7 +231,7 @@ PyInit__move(void)
231
231
#else
232
232
#define ERROR_RETURN
233
233
init_move (void )
234
- #endif /* !COMPILING_IN_PY2 */
234
+ #endif // !COMPILING_IN_PY2
235
235
{
236
236
PyObject * m ;
237
237
@@ -250,7 +250,7 @@ init_move(void)
250
250
if (!(m = PyModule_Create (& move_module )))
251
251
#else
252
252
if (!(m = Py_InitModule (MODULE_NAME , methods )))
253
- #endif /* !COMPILING_IN_PY2 */
253
+ #endif // !COMPILING_IN_PY2
254
254
{
255
255
return ERROR_RETURN ;
256
256
}
@@ -269,5 +269,5 @@ init_move(void)
269
269
270
270
#if !COMPILING_IN_PY2
271
271
return m ;
272
- #endif /* !COMPILING_IN_PY2 */
272
+ #endif // !COMPILING_IN_PY2
273
273
}
0 commit comments