Changeset 24


Ignore:
Timestamp:
Jan 21, 2008, 1:08:42 PM (11 years ago)
Author:
cameron
Message:

Correction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/xmlparam.h

    r21 r24  
    99#define XMLPARAM_H
    1010
    11 enum XML_version = {XML_1_0, XML_1_1, no_XML_version_value};
     11enum XML_version {XML_1_0, XML_1_1, no_XML_version_value};
    1212/* Documents may be encoded in accord with either XML 1.0 or XML 1.1,
    1313   or there may be no XML version declared ("no value" in the
    1414   XML infoset parlance). */
    1515
    16 enum CodeUnit_Base = {ASCII, EBCDIC};
     16enum CodeUnit_Base {ASCII, EBCDIC};
    1717/* Code units of the underlying character set may be either ASCII-compatible
    1818   or EBCDIC-compatible.
     
    3232*/
    3333
    34 enum CodeUnit_Size = {SingleByte = 1, DoubleByte = 2, QuadByte = 4};
     34enum CodeUnit_Size {SingleByte = 1, DoubleByte = 2, QuadByte = 4};
    3535/* ASCII, EBCDIC, ISO-8859-X and UTF-8 have 8-bit code units (singlebytes);
    3636   The UTF-16 and UCS-2 families have 16-bit code units (doublebyte);
    3737   The UTF-32/UCS-4 family has 32-bit code units. */
    3838
    39 enum CodeUnit_ByteOrder = {BigEndian, LittleEndian, Unusual_3412, Unusual_2143};
     39enum CodeUnit_ByteOrder {BigEndian, LittleEndian, Unusual_3412, Unusual_2143};
    4040/* The byte order of 16-bit or 32-bit code units.  The possibilities are:
    4141   BigEndian:  UTF-16BE, UCS-2BE, UTF-16 or UCS-2 with a BigEndian byte order mark,
     
    4848*/
    4949
    50 enum XML_standalone = {Standalone_yes, Standalone_no, Standalone_no_value};
     50enum XML_standalone {Standalone_yes, Standalone_no, Standalone_no_value};
    5151/* Possible values depending on the optional standalone component of an
    5252   XML declaration. */
Note: See TracChangeset for help on using the changeset viewer.