}
static int
-find_nfc_index(PyObject *self, struct reindex* nfc, Py_UCS4 code)
+find_nfc_index(const struct reindex* nfc, Py_UCS4 code)
{
unsigned int index;
for (index = 0; nfc[index].start; index++) {
}
/* code is still input[i] here */
- f = find_nfc_index(self, nfc_first, code);
+ f = find_nfc_index(nfc_first, code);
if (f == -1) {
output[o++] = code;
i++;
continue;
}
}
- l = find_nfc_index(self, nfc_last, code1);
+ l = find_nfc_index(nfc_last, code1);
/* i1 cannot be combined with i. If i1
is a starter, we don't need to look further.
Otherwise, record the combining class. */
assert(cskipped < 20);
skipped[cskipped++] = i1;
i1++;
- f = find_nfc_index(self, nfc_first, output[o]);
+ f = find_nfc_index(nfc_first, output[o]);
if (f == -1)
break;
}