- <title>\r
- <!-- Doxygen gets confused and thinks function pointer type definitions\r
- are variables, so we need to map them to this common section and\r
- check the definition to see which of the two it is. -->\r
- <xsl:choose>\r
- <xsl:when test="contains(definition,'typedef')">\r
- <xsl:text>Type </xsl:text>\r
- </xsl:when>\r
-\r
- <xsl:otherwise>\r
- <xsl:text>Variable </xsl:text>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
-\r
- <xsl:value-of select="name"/>\r
- </title>\r
-\r
- <programlisting language="c">\r
- <xsl:value-of select="definition"/>\r
- </programlisting>\r
+ <!-- Doxygen gets confused and thinks function pointer type definitions\r
+ are variables, so we need to map them to this common section and\r
+ check the definition to see which of the two it is. -->\r
+ <xsl:choose>\r
+ <xsl:when test="contains(definition,'typedef')">\r
+ <title> Type <xsl:value-of select="name"/></title>\r
+\r
+ <programlisting language="c">\r
+ <emphasis role="keyword">\r
+ <xsl:text>typedef </xsl:text>\r
+ <xsl:value-of select="type"/>\r
+ </emphasis>\r
+ <xsl:text> </xsl:text>\r
+ <xsl:value-of select="name"/>\r
+ <xsl:text> </xsl:text>\r
+ <xsl:value-of select="argsstring"/>\r
+ </programlisting>\r
+ </xsl:when>\r
+\r
+ <xsl:otherwise>\r
+ <title> Variable <xsl:value-of select="name"/></title>\r
+\r
+ <programlisting language="c">\r
+ <emphasis role="keyword">\r
+ <xsl:value-of select="type"/>\r
+ </emphasis>\r
+ <xsl:text> </xsl:text>\r
+ <xsl:value-of select="name"/>\r
+ </programlisting>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r