Changeset 7207 in vbox for trunk/src/VBox/Main/idl/midl.xsl
- Timestamp:
- Feb 28, 2008 6:43:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/midl.xsl
r6851 r7207 379 379 <xsl:for-each select="const"> 380 380 <xsl:text> </xsl:text> 381 <xsl:value-of select=" @name"/> = <xsl:value-of select="@value"/>381 <xsl:value-of select="concat(../@name,'_',@name)"/> = <xsl:value-of select="@value"/> 382 382 <xsl:choose> 383 383 <xsl:when test="position()!=last()"><xsl:text>,
</xsl:text></xsl:when> … … 392 392 <xsl:value-of select="concat('cpp_quote("#define ', @name, '_T', ' ', 393 393 @name, '")

')"/> 394 <xsl:text>cpp_quote("")
</xsl:text>395 <!-- -->396 <xsl:value-of select="concat('/* cross-platform constants for ', @name, ' */
')"/>397 <xsl:for-each select="const">398 <xsl:value-of select="concat('cpp_quote("#define ', ../@name, '_', @name, ' ',399 @name, '")
')"/>400 <xsl:choose>401 <xsl:when test="position()=last()"><xsl:text>cpp_quote("")
</xsl:text></xsl:when>402 </xsl:choose>403 </xsl:for-each>404 394 <xsl:text>

</xsl:text> 405 395 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.