summaryrefslogtreecommitdiffstats
path: root/Tools/perfecthash
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2000-07-07 17:53:54 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2000-07-07 17:53:54 (GMT)
commitbc30b117643a3bffb39ba3e93bba1beb493d1f37 (patch)
treeff76fa443a6c6de33b387c8942299998f269101e /Tools/perfecthash
parente12896ec98f58bd221da08725bb084e6014a2090 (diff)
downloadcpython-bc30b117643a3bffb39ba3e93bba1beb493d1f37.zip
cpython-bc30b117643a3bffb39ba3e93bba1beb493d1f37.tar.gz
cpython-bc30b117643a3bffb39ba3e93bba1beb493d1f37.tar.bz2
Fix to use Py_UCS4. By Bill Tutt.
Diffstat (limited to 'Tools/perfecthash')
-rw-r--r--Tools/perfecthash/GenUCNHash.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/perfecthash/GenUCNHash.py b/Tools/perfecthash/GenUCNHash.py
index 31a0590..0701c25 100644
--- a/Tools/perfecthash/GenUCNHash.py
+++ b/Tools/perfecthash/GenUCNHash.py
@@ -38,7 +38,7 @@ def generateOutputFiles(perfHash, hashData):
typedef struct
{
const char *pszUCN;
- unsigned int uiValue;
+ Py_UCS4 value;
} _Py_UnicodeCharacterName;
"""