Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc30b11

Browse files
committed
Fix to use Py_UCS4. By Bill Tutt.
1 parent e12896e commit bc30b11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/perfecthash/GenUCNHash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def generateOutputFiles(perfHash, hashData):
3838
typedef struct
3939
{
4040
const char *pszUCN;
41-
unsigned int uiValue;
41+
Py_UCS4 value;
4242
} _Py_UnicodeCharacterName;
4343
4444
"""

0 commit comments

Comments
 (0)