- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
(+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten
No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
1.2 KiB
C
25 lines
1.2 KiB
C
#define JISX0201_R_ENCODE(c, assi) \
|
|
if ((c) < 0x80 && (c) != 0x5c && (c) != 0x7e) \
|
|
(assi) = (c); \
|
|
else if ((c) == 0x00a5) (assi) = 0x5c; \
|
|
else if ((c) == 0x203e) (assi) = 0x7e;
|
|
#define JISX0201_K_ENCODE(c, assi) \
|
|
if ((c) >= 0xff61 && (c) <= 0xff9f) \
|
|
(assi) = (c) - 0xfec0;
|
|
#define JISX0201_ENCODE(c, assi) \
|
|
JISX0201_R_ENCODE(c, assi) \
|
|
else JISX0201_K_ENCODE(c, assi)
|
|
|
|
#define JISX0201_R_DECODE(c, assi) \
|
|
if ((c) < 0x5c) (assi) = (c); \
|
|
else if ((c) == 0x5c) (assi) = 0x00a5; \
|
|
else if ((c) < 0x7e) (assi) = (c); \
|
|
else if ((c) == 0x7e) (assi) = 0x203e; \
|
|
else if ((c) == 0x7f) (assi) = 0x7f;
|
|
#define JISX0201_K_DECODE(c, assi) \
|
|
if ((c) >= 0xa1 && (c) <= 0xdf) \
|
|
(assi) = 0xfec0 + (c);
|
|
#define JISX0201_DECODE(c, assi) \
|
|
JISX0201_R_DECODE(c, assi) \
|
|
else JISX0201_K_DECODE(c, assi)
|