summaryrefslogtreecommitdiff
path: root/doc/syms.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syms.xsl')
-rw-r--r--doc/syms.xsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/syms.xsl b/doc/syms.xsl
index 3965e90c..b46913e6 100644
--- a/doc/syms.xsl
+++ b/doc/syms.xsl
@@ -44,6 +44,13 @@
<xsl:apply-templates select="."/>
</xsl:for-each>
+ <xsl:if test="not($prev)">
+ <xsl:text>
+ local:
+ *;
+</xsl:text>
+ </xsl:if>
+
<xsl:text>} </xsl:text>
<xsl:if test="$prev">
<xsl:text>LIBXML2_</xsl:text>
@@ -66,6 +73,14 @@
<xsl:text>
</xsl:text>
</xsl:when>
+ <xsl:when test="@switch">
+ <xsl:text># </xsl:text>
+ <xsl:value-of select="$name"/>
+ <xsl:text>; requires switch </xsl:text>
+ <xsl:value-of select="@switch"/>
+ <xsl:text>
+</xsl:text>
+ </xsl:when>
<xsl:otherwise>
<!-- make sure we can find that symbol exported from the API list -->
<xsl:variable name="def"