]> git.donarmstrong.com Git - qmk_firmware.git/blob - Maintenance/lufa_functionlist_transform.xslt
Squashed 'lib/lufa/' content from commit 385d40300
[qmk_firmware.git] / Maintenance / lufa_functionlist_transform.xslt
1 <!--
2              LUFA Library
3      Copyright (C) Dean Camera, 2017.
4
5   dean [at] fourwalledcubicle [dot] com
6            www.lufa-lib.org
7 -->
8
9 <!-- Extracts out all function signatures from a combined Doxygen XML output. -->
10
11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
12         <xsl:output method="xml" omit-xml-declaration="yes"/>
13
14         <xsl:template match="doxygen">
15                 <xsl:for-each select="//memberdef[@kind = 'function']">
16                         <xsl:value-of select="definition"/><xsl:value-of select="argsstring"/><xsl:text>;&#10;</xsl:text>
17                 </xsl:for-each>
18         </xsl:template>
19 </xsl:stylesheet>