mxml/www/docfiles/Enumerations.html
Michael R Sweet c075136310 Update documentation with release notes.
Use new logo.

Add favicon stuff.

Prep for 2.2.1 release.
2005-05-17 00:54:44 +00:00

52 lines
1.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Mini-XML Programmers Manual, Version 2.2.1</TITLE>
<META NAME="author" CONTENT="Michael Sweet">
<META NAME="copyright" CONTENT="Copyright 2003-2005">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="toc.html">
<LINK REL="Prev" HREF="ClassesStructuresandUnions.html">
<LINK REL="Next" HREF="XMLSchema.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
--></STYLE>
</HEAD>
<BODY>
<A HREF="toc.html">Contents</A>
<A HREF="ClassesStructuresandUnions.html">Previous</A>
<A HREF="XMLSchema.html">Next</A>
<HR NOSHADE>
<H3><A NAME="5_2_5">Enumerations</A></H3>
<P>Each enumeration must have a comment block immediately before the
definition describing what the enumeration is for, and each enumeration
value must have a comment immediately after the value, as follows:</P>
<PRE>
/*
* Enumeration of media trays.
*/
enum this_enum_e
{
THIS_TRAY, /* This tray */
THAT_TRAY /* That tray */
};
</PRE>
<!-- NEW PAGE -->
<HR NOSHADE>
<A HREF="toc.html">Contents</A>
<A HREF="ClassesStructuresandUnions.html">Previous</A>
<A HREF="XMLSchema.html">Next</A>
</BODY>
</HTML>