Back to index

python3.2  3.2.2
Defines
alg_jisx0201.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define JISX0201_R_ENCODE(c, assi)
#define JISX0201_K_ENCODE(c, assi)
#define JISX0201_ENCODE(c, assi)
#define JISX0201_R_DECODE(c, assi)
#define JISX0201_K_DECODE(c, assi)
#define JISX0201_DECODE(c, assi)

Define Documentation

#define JISX0201_DECODE (   c,
  assi 
)
Value:
JISX0201_R_DECODE(c, assi)                          \
    else JISX0201_K_DECODE(c, assi)

Definition at line 22 of file alg_jisx0201.h.

#define JISX0201_ENCODE (   c,
  assi 
)
Value:
JISX0201_R_ENCODE(c, assi)                          \
    else JISX0201_K_ENCODE(c, assi)

Definition at line 9 of file alg_jisx0201.h.

#define JISX0201_K_DECODE (   c,
  assi 
)
Value:
if ((c) >= 0xa1 && (c) <= 0xdf)                     \
    (assi) = 0xfec0 + (c);

Definition at line 19 of file alg_jisx0201.h.

#define JISX0201_K_ENCODE (   c,
  assi 
)
Value:
if ((c) >= 0xff61 && (c) <= 0xff9f)                 \
        (assi) = (c) - 0xfec0;

Definition at line 6 of file alg_jisx0201.h.

#define JISX0201_R_DECODE (   c,
  assi 
)
Value:
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;

Definition at line 13 of file alg_jisx0201.h.

#define JISX0201_R_ENCODE (   c,
  assi 
)
Value:
if ((c) < 0x80 && (c) != 0x5c && (c) != 0x7e)       \
        (assi) = (c);                                   \
    else if ((c) == 0x00a5) (assi) = 0x5c;              \
    else if ((c) == 0x203e) (assi) = 0x7e;

Definition at line 1 of file alg_jisx0201.h.