summaryrefslogtreecommitdiff
path: root/src/c-client.xsl
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-11-18 21:30:12 -0800
committerJamey Sharp <jamey@minilop.net>2006-11-18 22:35:53 -0800
commitaedfa1fe1d91a10ccfe3ee6ac6b7a25885623dc6 (patch)
tree4eb9652b4b0dcc4f4eb89ffb7c52c40156737eef /src/c-client.xsl
parent44a2160c95f6c90d461d66c0278348c62d2d77fa (diff)
Fix Doxygen warnings.
Specifically, fixes these two warnings which were emitted for every generated source file: * Warning: end of file while inside a group * Warning: group XCB_BigRequests_API already documented. Skipping documentation.
Diffstat (limited to 'src/c-client.xsl')
-rw-r--r--src/c-client.xsl21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl
index 31b6de5..d5d2b35 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -973,11 +973,13 @@ authorization from the authors.
-->__<xsl:value-of select="$ucase-header" />_H<!--
--></xsl:variable>
-<xsl:text>/**
- * @file </xsl:text><xsl:value-of select="$header" /><xsl:text>.h
- **/
+<xsl:text>/*
+ * This file generated automatically from </xsl:text>
+<xsl:value-of select="$header" /><xsl:text>.xml by c-client.xsl using XSLT.
+ * Edit at your peril.
+ */
</xsl:text>
-<xsl:text>
+<xsl:if test="$h"><xsl:text>
/**
* @defgroup XCB_</xsl:text><xsl:value-of select="$ext" /><xsl:text>_API XCB </xsl:text><xsl:value-of select="$ext" /><xsl:text> API
* @brief </xsl:text><xsl:value-of select="$ext" /><xsl:text> XCB Protocol Implementation.</xsl:text>
@@ -985,14 +987,8 @@ authorization from the authors.
* @{
**/
</xsl:text>
-<xsl:text>/*
- * This file generated automatically from </xsl:text>
-<xsl:value-of select="$header" /><xsl:text>.xml by c-client.xsl using XSLT.
- * Edit at your peril.
- */
-</xsl:text>
-<xsl:if test="$h"><xsl:text>
+<xsl:text>
#ifndef </xsl:text><xsl:value-of select="$guard" /><xsl:text>
#define </xsl:text><xsl:value-of select="$guard" /><xsl:text>
</xsl:text>
@@ -1028,10 +1024,11 @@ authorization from the authors.
<xsl:if test="$h">
<xsl:text>
+#endif
+
/**
* @}
*/
-#endif
</xsl:text>
</xsl:if>
</xsl:template>