Skip to content

Commit 15205cf

Browse files
author
Erlend E. Aasland
committed
Address review: Fix macro indent
1 parent 94c15cb commit 15205cf

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Modules/cjkcodecs/multibytecodec.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,20 +1999,20 @@ _multibytecodec_free(void *mod)
19991999
_multibytecodec_clear((PyObject *)mod);
20002000
}
20012001

2002-
#define CREATE_TYPE(module, type, spec) \
2003-
do { \
2004-
type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
2005-
if (!type) { \
2006-
return -1; \
2007-
} \
2008-
} while (0)
2009-
2010-
#define ADD_TYPE(module, type) \
2011-
do { \
2012-
if (PyModule_AddType(module, type) < 0) { \
2013-
return -1; \
2014-
} \
2015-
} while (0)
2002+
#define CREATE_TYPE(module, type, spec) \
2003+
do { \
2004+
type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
2005+
if (!type) { \
2006+
return -1; \
2007+
} \
2008+
} while (0)
2009+
2010+
#define ADD_TYPE(module, type) \
2011+
do { \
2012+
if (PyModule_AddType(module, type) < 0) { \
2013+
return -1; \
2014+
} \
2015+
} while (0)
20162016

20172017
static int
20182018
_multibytecodec_exec(PyObject *mod)

0 commit comments

Comments
 (0)