VirtualBox

Ignore:
Timestamp:
Feb 11, 2022 8:46:11 PM (3 years ago)
Author:
vboxsync
Message:

include/iprt/message.h: Max out the available bits for the scope, we need a lot for the VBoxManage controlvm docs.

docs, VBoxManage: Integrate refman (and fix some content) for VBoxManage startvm and VBoxManage controlvm. Needs about 60 scopes (do RT_BIT_64 is a must have), and for protection against exceeding the limit there are now checks (as AssertCompile).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/docbook-refentry-to-H-help.xsl

    r82969 r93708  
    6565        <xsl:value-of select="$sBaseNm"/>
    6666        <xsl:value-of select="substring('                                               ',1,56 - string-length($sBaseNm) - 11)"/>
    67         <xsl:text> RT_BIT_32(HELP_SCOPE_</xsl:text><xsl:value-of select="$sBaseNm"/><xsl:text>_BIT)
     67        <xsl:text> RT_BIT_64(HELP_SCOPE_</xsl:text><xsl:value-of select="$sBaseNm"/><xsl:text>_BIT)
    6868        HELP_SCOPE_</xsl:text><xsl:value-of select="$sBaseNm"/><xsl:text>_BIT = 0</xsl:text>
    6969
     
    8080          <xsl:value-of select="$sSubNm"/>
    8181          <xsl:value-of select="substring('                                               ',1,56 - string-length($sSubNm))"/>
    82           <xsl:text> RT_BIT_32(</xsl:text><xsl:value-of select="$sSubNm"/><xsl:text>_BIT)
     82          <xsl:text> RT_BIT_64(</xsl:text><xsl:value-of select="$sSubNm"/><xsl:text>_BIT)
    8383        </xsl:text>
    8484          <xsl:value-of select="$sSubNm"/><xsl:text>_BIT</xsl:text>
    8585        </xsl:for-each>
    8686
    87         <!-- Add scoping info for refsect1, refsect2 and refsect3 IDs that aren't part of the synopsis. -->
    88         <xsl:for-each select=".//refsect1[@id] | .//refsect2[@id] | .//refsect3[@id]">
     87        <!-- Add scoping info for refsect1 and refsect2 IDs that aren't part of the synopsis. -->
     88        <xsl:for-each select=".//refsect1[@id] | .//refsect2[@id]">
    8989          <xsl:variable name="sThisId" select="@id"/>
    9090          <xsl:if test="not($RefEntry[@id = $sThisId]) and not($RefEntry/refsynopsisdiv/cmdsynopsis[@id = concat('synopsis-', $sThisId)])">
     
    108108            <xsl:value-of select="$sSubNm"/>
    109109            <xsl:value-of select="substring('                                               ',1,56 - string-length($sSubNm))"/>
    110             <xsl:text> RT_BIT_32(</xsl:text><xsl:value-of select="$sSubNm"/><xsl:text>_BIT)
     110            <xsl:text> RT_BIT_64(</xsl:text><xsl:value-of select="$sSubNm"/><xsl:text>_BIT)
    111111        </xsl:text>
    112112            <xsl:value-of select="$sSubNm"/><xsl:text>_BIT</xsl:text>
     
    118118        HELP_SCOPE_</xsl:text><xsl:value-of select="$sBaseNm"/><xsl:text>_END
    119119};
     120AssertCompile((int)HELP_SCOPE_</xsl:text><xsl:value-of select="$sBaseNm"/><xsl:text>_END &gt;= 1);
     121AssertCompile((int)HELP_SCOPE_</xsl:text><xsl:value-of select="$sBaseNm"/><xsl:text>_END &lt; 64);
     122AssertCompile(RT_BIT_64(HELP_SCOPE_</xsl:text><xsl:value-of select="$sBaseNm"/><xsl:text>_END - 1) &amp; RTMSGREFENTRYSTR_SCOPE_MASK);
    120123</xsl:text>
    121124      </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.

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