Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bpo-40328: Add tool for generating mapping headers.
  • Loading branch information
corona10 committed Apr 19, 2020
commit a681b40a970d4ad4b840c46523c38c3aa6b7ee1e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add tools for generating mappings headers for CJKCodecs.
1 change: 1 addition & 0 deletions Modules/cjkcodecs/mappings_cn.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTO-GENERATED FILE FROM genmap_schinese.py: DO NOT EDIT
static const ucs2_t __gb2312_decmap[7482] = {
12288,12289,12290,12539,713,711,168,12291,12293,8213,65374,8214,8230,8216,
8217,8220,8221,12308,12309,12296,12297,12298,12299,12300,12301,12302,12303,
Expand Down
1 change: 1 addition & 0 deletions Modules/cjkcodecs/mappings_jisx0213_pair.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTO-GENERATED FILE FROM genmap_japanese.py: DO NOT EDIT
#define JISX0213_ENCPAIRS 46
#ifdef EXTERN_JISX0213_PAIR
static const struct widedbcs_index *jisx0213_pair_decmap;
Expand Down
1 change: 1 addition & 0 deletions Modules/cjkcodecs/mappings_jp.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTO-GENERATED FILE FROM genmap_japanese.py: DO NOT EDIT
static const ucs2_t __jisx0208_decmap[6956] = {
12288,12289,12290,65292,65294,12539,65306,65307,65311,65281,12443,12444,180,
65344,168,65342,65507,65343,12541,12542,12445,12446,12291,20189,12293,12294,
Expand Down
2 changes: 2 additions & 0 deletions Modules/cjkcodecs/mappings_kr.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// AUTO-GENERATED FILE FROM genmap_korean.py: DO NOT EDIT
static const ucs2_t __ksx1001_decmap[8264] = {
12288,12289,12290,183,8229,8230,168,12291,173,8213,8741,65340,8764,8216,8217,
8220,8221,12308,12309,12296,12297,12298,12299,12300,12301,12302,12303,12304,
Expand Down Expand Up @@ -3249,3 +3250,4 @@ __cp949_encmap+31959,0,255},{__cp949_encmap+32215,0,255},{__cp949_encmap+32471
__cp949_encmap+32891,0,11},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{__cp949_encmap+
32903,1,230},
};

Loading