|
|
@ -182,8 +182,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
<section id="{@id}" xreflabel="{$name}">
|
|
|
|
<section id="{@id}" xreflabel="{$name}">
|
|
|
|
<title>
|
|
|
|
<title>
|
|
|
|
<xsl:value-of select="@kind"/>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
<xsl:when test="@kind = 'struct'">
|
|
|
|
|
|
|
|
<xsl:text>Struct </xsl:text>
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="@kind = 'union'">
|
|
|
|
|
|
|
|
<xsl:text>Union </xsl:text>
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
</xsl:choose>
|
|
|
|
<xsl:value-of select="$name"/>
|
|
|
|
<xsl:value-of select="$name"/>
|
|
|
|
</title>
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
|
@ -194,7 +200,7 @@
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:for-each select="sectiondef[@kind='public-attrib']">
|
|
|
|
<xsl:for-each select="sectiondef[@kind='public-attrib']">
|
|
|
|
<table abstyle="striped">
|
|
|
|
<table tabstyle="striped">
|
|
|
|
<title>
|
|
|
|
<title>
|
|
|
|
<xsl:value-of select="$name"/>
|
|
|
|
<xsl:value-of select="$name"/>
|
|
|
|
</title>
|
|
|
|
</title>
|
|
|
@ -204,8 +210,8 @@
|
|
|
|
<spanspec spanname="full" namest="start.col" nameend="stop.col"/>
|
|
|
|
<spanspec spanname="full" namest="start.col" nameend="stop.col"/>
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<entry>Data type</entry>
|
|
|
|
<entry>Type</entry>
|
|
|
|
<entry>Field name</entry>
|
|
|
|
<entry>Name</entry>
|
|
|
|
<entry>Description</entry>
|
|
|
|
<entry>Description</entry>
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
@ -217,6 +223,9 @@
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
|
|
|
<xsl:if test="starts-with(argsstring, '[')">
|
|
|
|
|
|
|
|
<xsl:text>[]</xsl:text>
|
|
|
|
|
|
|
|
</xsl:if>
|
|
|
|
<indexterm id="{$keyword.namespace}.{$name}.{name}"/>
|
|
|
|
<indexterm id="{$keyword.namespace}.{$name}.{name}"/>
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
@ -252,9 +261,34 @@
|
|
|
|
</para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<programlisting language="c">
|
|
|
|
<programlisting language="c">
|
|
|
|
<xsl:value-of select="definition"/>
|
|
|
|
<emphasis role="keyword">
|
|
|
|
|
|
|
|
<xsl:value-of select="type"/>
|
|
|
|
|
|
|
|
</emphasis>
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
|
|
|
<xsl:text>(</xsl:text>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
|
|
|
<xsl:when test="argsstring = '(void)'">
|
|
|
|
|
|
|
|
<emphasis role="keyword">void</emphasis>
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
|
|
|
<xsl:for-each select="param">
|
|
|
|
|
|
|
|
<xsl:if test="position() > 1">
|
|
|
|
|
|
|
|
<xsl:text>,</xsl:text>
|
|
|
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
<xsl:text> 		</xsl:text>
|
|
|
|
|
|
|
|
<emphasis role="keyword">
|
|
|
|
|
|
|
|
<xsl:value-of select="type"/>
|
|
|
|
|
|
|
|
</emphasis>
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
<xsl:apply-templates select="argsstring"/>
|
|
|
|
<xsl:value-of select="declname"/>
|
|
|
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:text>)</xsl:text>
|
|
|
|
</programlisting>
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
@ -276,7 +310,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
|
|
|
|
|
|
|
|
<informaltable tabstyle="striped">
|
|
|
|
<table tabstyle="striped">
|
|
|
|
|
|
|
|
<title>Members</title>
|
|
|
|
<tgroup cols="2">
|
|
|
|
<tgroup cols="2">
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
@ -299,7 +334,7 @@
|
|
|
|
</xsl:for-each>
|
|
|
|
</xsl:for-each>
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</tgroup>
|
|
|
|
</informaltable>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</xsl:template>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|
@ -317,27 +352,29 @@
|
|
|
|
</xsl:call-template>
|
|
|
|
</xsl:call-template>
|
|
|
|
|
|
|
|
|
|
|
|
<programlisting language="c">
|
|
|
|
<programlisting language="c">
|
|
|
|
|
|
|
|
<emphasis role="preprocessor">
|
|
|
|
<xsl:text>#define </xsl:text>
|
|
|
|
<xsl:text>#define </xsl:text>
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
<xsl:if test="count(param) > 0">
|
|
|
|
<xsl:if test="count(param) > 0">
|
|
|
|
<xsl:text>(</xsl:text>
|
|
|
|
<xsl:text>(</xsl:text>
|
|
|
|
<xsl:for-each select="param/defname">
|
|
|
|
<xsl:for-each select="param/defname">
|
|
|
|
<xsl:if test="position() > 1">
|
|
|
|
<xsl:if test="position() > 1">
|
|
|
|
<xsl:text>,</xsl:text>
|
|
|
|
<xsl:text>,</xsl:text>
|
|
|
|
</xsl:if>
|
|
|
|
</xsl:if>
|
|
|
|
<xsl:value-of select="."/>
|
|
|
|
<xsl:value-of select="."/>
|
|
|
|
</xsl:for-each>
|
|
|
|
</xsl:for-each>
|
|
|
|
<xsl:text>)</xsl:text>
|
|
|
|
<xsl:text>)</xsl:text>
|
|
|
|
</xsl:if>
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Split long macro definitions across multiple lines -->
|
|
|
|
<!-- Split long macro definitions across multiple lines -->
|
|
|
|
<xsl:if test="(string-length(initializer) > 50) or (count(param) > 0)">
|
|
|
|
<xsl:if test="(string-length(initializer) > 50) or (count(param) > 0)">
|
|
|
|
<xsl:text>\</xsl:text>
|
|
|
|
<xsl:text>\ 		</xsl:text>
|
|
|
|
</xsl:if>
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:value-of select="initializer"/>
|
|
|
|
<xsl:value-of select="initializer"/>
|
|
|
|
|
|
|
|
</emphasis>
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
</programlisting>
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
@ -348,19 +385,35 @@
|
|
|
|
<xsl:variable name="name" select="name"/>
|
|
|
|
<xsl:variable name="name" select="name"/>
|
|
|
|
|
|
|
|
|
|
|
|
<section id="{@id}" xreflabel="{name}">
|
|
|
|
<section id="{@id}" xreflabel="{name}">
|
|
|
|
<title>
|
|
|
|
|
|
|
|
<!-- Doxygen gets confused and thinks function pointer type definitions
|
|
|
|
<!-- Doxygen gets confused and thinks function pointer type definitions
|
|
|
|
are variables, so we need to map them to this common section and
|
|
|
|
are variables, so we need to map them to this common section and
|
|
|
|
check the definition to see which of the two it is. -->
|
|
|
|
check the definition to see which of the two it is. -->
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="contains(definition,'typedef')">
|
|
|
|
<xsl:when test="contains(definition,'typedef')">
|
|
|
|
|
|
|
|
<title>
|
|
|
|
<xsl:text>Type </xsl:text>
|
|
|
|
<xsl:text>Type </xsl:text>
|
|
|
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:call-template name="generate.index.id">
|
|
|
|
|
|
|
|
<xsl:with-param name="name" select="$name"/>
|
|
|
|
|
|
|
|
</xsl:call-template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<programlisting language="c">
|
|
|
|
|
|
|
|
<emphasis role="keyword">
|
|
|
|
|
|
|
|
<xsl:text>typedef </xsl:text>
|
|
|
|
|
|
|
|
<xsl:value-of select="type"/>
|
|
|
|
|
|
|
|
</emphasis>
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
|
|
|
<xsl:value-of select="argsstring"/>
|
|
|
|
|
|
|
|
</programlisting>
|
|
|
|
</xsl:when>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
|
|
|
<title>
|
|
|
|
<xsl:text>Variable </xsl:text>
|
|
|
|
<xsl:text>Variable </xsl:text>
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
</title>
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
|
@ -369,8 +422,14 @@
|
|
|
|
</xsl:call-template>
|
|
|
|
</xsl:call-template>
|
|
|
|
|
|
|
|
|
|
|
|
<programlisting language="c">
|
|
|
|
<programlisting language="c">
|
|
|
|
<xsl:value-of select="definition"/>
|
|
|
|
<emphasis role="keyword">
|
|
|
|
|
|
|
|
<xsl:value-of select="type"/>
|
|
|
|
|
|
|
|
</emphasis>
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
</programlisting>
|
|
|
|
</programlisting>
|
|
|
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
<xsl:apply-templates select="detaileddescription"/>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|