Changeset 826


Ignore:
Timestamp:
Dec 16, 2010, 7:09:04 AM (8 years ago)
Author:
cameron
Message:

Use unsigned char consistently for name character bitmaps.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/namechars.h

    r825 r826  
    1313#ifndef NAMECHARS_H
    1414#define NAMECHARS_H
    15 uint8_t NameStrt_XML10_0000_11FF[] = {
     15unsigned char NameStrt_XML10_0000_11FF[] = {
    1616    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
    1717    0x7F, 0xFF, 0xFF, 0xE1, 0x7F, 0xFF, 0xFF, 0xE0,
     
    8787    0xE0, 0x00, 0x00, 0x00, 0x00, 0x10, 0x80, 0x40};
    8888
    89 uint8_t NameStrt_XML10_1E00_1FFF[] = {
     89unsigned char NameStrt_XML10_1E00_1FFF[] = {
    9090    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    9191    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
     
    9797    0x3B, 0xF8, 0xF3, 0xF0, 0xFF, 0xF8, 0x3B, 0xF8};
    9898
    99 uint8_t NameStrt_XML10_2000_21FF[] = {
     99unsigned char NameStrt_XML10_2000_21FF[] = {
    100100    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    101101    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
     
    107107    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
    108108
    109 uint8_t NameStrt_XML10_3000_31FF[] = {
     109unsigned char NameStrt_XML10_3000_31FF[] = {
    110110    0x01, 0x00, 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x00,
    111111    0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
     
    117117    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
    118118
    119 uint8_t NameChar_XML10_0000_11FF[] = {
     119unsigned char NameChar_XML10_0000_11FF[] = {
    120120    0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0xFF, 0xE0,
    121121    0x7F, 0xFF, 0xFF, 0xE1, 0x7F, 0xFF, 0xFF, 0xE0,
     
    191191    0xE0, 0x00, 0x00, 0x00, 0x00, 0x10, 0x80, 0x40};
    192192
    193 uint8_t NameChar_XML10_2000_21FF[] = {
     193unsigned char NameChar_XML10_2000_21FF[] = {
    194194    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    195195    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
     
    201201    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
    202202
    203 uint8_t NameChar_XML10_3000_31FF[] = {
     203unsigned char NameChar_XML10_3000_31FF[] = {
    204204    0x05, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0x7C, 0x00,
    205205    0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
     
    211211    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
    212212
    213 uint8_t NameStrt_XML11_0000_03FF[] = {
     213unsigned char NameStrt_XML11_0000_03FF[] = {
    214214    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
    215215    0x7F, 0xFF, 0xFF, 0xE1, 0x7F, 0xFF, 0xFF, 0xE0,
     
    229229    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
    230230
    231 uint8_t NameChar_XML11_0000_03FF[] = {
     231unsigned char NameChar_XML11_0000_03FF[] = {
    232232    0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0xFF, 0xE0,
    233233    0x7F, 0xFF, 0xFF, 0xE1, 0x7F, 0xFF, 0xFF, 0xE0,
  • trunk/src/xml_chars.py

    r825 r826  
    158158               
    159159def make_C_bit_map(name, map, lo_codepoint, hi_codepoint):
    160         c_str = "uint8_t " + name + "[] = {\n    "
     160        c_str = "unsigned char " + name + "[] = {\n    "
    161161        codepoint = lo_codepoint
    162162        groups_on_line = 0
Note: See TracChangeset for help on using the changeset viewer.