Cleanup: style

This commit is contained in:
2018-10-07 17:49:22 +11:00
parent db1a04313c
commit ee2e30683c
6 changed files with 34 additions and 27 deletions

View File

@@ -132,7 +132,7 @@ Py_LOCAL_INLINE(int64_t) PyC_Long_AsI64(PyObject *value) { return (int64_t)PyLo
Py_LOCAL_INLINE(uint64_t) PyC_Long_AsU64(PyObject *value) { return (uint64_t)PyLong_AsUnsignedLongLong(value); }
/* utils for format string in `struct` module style syntax */
Py_LOCAL_INLINE(char) PyC_Formatstr_get(char *typestr)
Py_LOCAL_INLINE(char) PyC_Formatstr_get(const char *typestr)
{
switch (typestr[0]) {
case '!':