summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt
diff options
context:
space:
mode:
authortmk2015-05-13 11:13:10 +0900
committertmk2015-05-13 11:13:10 +0900
commitf1f2066657f4a0998adc016c95d7e541b436e09f (patch)
treed056cb656b538c4f3a3c205363e0070976655e2e /tmk_core/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt
parent1c73e574f109a17566db99e399bdf86007488d2a (diff)
parentf6d56675f9f981c5464f0ca7a1fbb0162154e8c5 (diff)
Merge commit 'f6d56675f9f981c5464f0ca7a1fbb0162154e8c5'
Diffstat (limited to 'tmk_core/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt')
-rw-r--r--tmk_core/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt19
1 files changed, 19 insertions, 0 deletions
diff --git a/tmk_core/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt b/tmk_core/protocol/lufa/LUFA-git/Maintenance/lufa_functionlist_transform.xslt
new file mode 100644
index 000000000..671f30f4a
--- /dev/null
+++ b/tmk_core/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>;&#10;</xsl:text>
+ </xsl:for-each>
+ </xsl:template>
+</xsl:stylesheet>