diff options
Diffstat (limited to 'protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt')
m--------- | protocol/lufa/LUFA-git | 0 | ||||
-rw-r--r-- | protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/protocol/lufa/LUFA-git b/protocol/lufa/LUFA-git deleted file mode 160000 -Subproject b6c18b2a7c544653efbe12a1d4e8ba65e7d83c3 diff --git a/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt b/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt new file mode 100644 index 0000000000..671f30f4a2 --- /dev/null +++ b/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt @@ -0,0 +1,19 @@ +<!-- + LUFA Library + Copyright (C) Dean Camera, 2014. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +--> + +<!-- Extracts out all function signatures from a combined Doxygen XML output. --> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:output method="xml" omit-xml-declaration="yes"/> + + <xsl:template match="doxygen"> + <xsl:for-each select="//memberdef[@kind = 'function']"> + <xsl:value-of select="definition"/><xsl:value-of select="argsstring"/><xsl:text>; </xsl:text> + </xsl:for-each> + </xsl:template> +</xsl:stylesheet> |