VirtualBox

Changeset 22043 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Aug 6, 2009 5:18:53 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50781
Message:

Python WS: use short enum names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/constants-python.xsl

    r21968 r22043  
    6868                   <xsl:if test="not(position()=last())">,</xsl:if>
    6969                  </xsl:for-each>}
    70  
     70
    7171   _ValuesFlatSym = {<xsl:for-each select="//enum">
    7272                   <xsl:variable name="ename">
     
    7777                       <xsl:value-of select="concat($ename, '_', @name)"/>
    7878                   </xsl:variable>
    79                         '<xsl:value-of select="$eval"/>': '<xsl:value-of select="$eval"/>'<xsl:if test="not(position()=last())">,</xsl:if>
     79                        '<xsl:value-of select="$eval"/>': '<xsl:value-of select="@name"/>'<xsl:if test="not(position()=last())">,</xsl:if>
    8080                   </xsl:for-each>
    8181                   <xsl:if test="not(position()=last())">,</xsl:if>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette