mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-09 22:09:57 +00:00
c075136310
Use new logo. Add favicon stuff. Prep for 2.2.1 release.
69 lines
2.0 KiB
HTML
69 lines
2.0 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="Types.html">
|
|
<LINK REL="Next" HREF="Enumerations.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="Types.html">Previous</A>
|
|
<A HREF="Enumerations.html">Next</A>
|
|
<HR NOSHADE>
|
|
<H3><A NAME="5_2_4">Classes, Structures, and Unions</A></H3>
|
|
<P>Each class, structure, and union must have a comment block
|
|
immediately before the definition, and each member must be documented
|
|
in accordance with the function and variable documentation
|
|
requirements, as follows:</P>
|
|
<PRE>
|
|
/*
|
|
* This structure is for foobar options.
|
|
*/
|
|
struct this_struct_s
|
|
{
|
|
int this_member; /* Current state for this */
|
|
int that_member; /* Current state for that */
|
|
};
|
|
|
|
/*
|
|
* This class is for barfoo options.
|
|
*/
|
|
class this_class_c
|
|
{
|
|
int this_member; /* Current state for this */
|
|
int that_member; /* Current state for that */
|
|
|
|
/*
|
|
* 'get_this()' - Get the current state for this.
|
|
*/
|
|
int /* O - Current state for this */
|
|
get_this()
|
|
{
|
|
return (this_member);
|
|
}
|
|
};
|
|
</PRE>
|
|
<HR NOSHADE>
|
|
<A HREF="toc.html">Contents</A>
|
|
<A HREF="Types.html">Previous</A>
|
|
<A HREF="Enumerations.html">Next</A>
|
|
</BODY>
|
|
</HTML>
|