summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pooptmodule.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/pooptmodule.c b/src/pooptmodule.c
index 364d568f..815c8f0e 100644
--- a/src/pooptmodule.c
+++ b/src/pooptmodule.c
@@ -17,14 +17,17 @@ python functions that are too slow. */
PyObject *ErrorObject;
+/***
+ Internal functions
+ ***/
+
/**
- * Internal functions
- */
-/* Just checking if the return value is -1. In some (all?) implementations,
+ Just checking if the return value is -1. In some (all?) implementations,
wcwidth("😆") returns -1 while it should return 1. In these cases, we
return 1 instead because this is by far the most probable real value. As
for \n, \t and their friends, they are not supposed to be passed in this
- function, ever. */
+ function, ever.
+*/
static int xwcwidth(wchar_t c)
{
const int res = wcwidth(c);