Changeset 24679 in vbox for trunk/src/VBox/Main
- Timestamp:
- Nov 15, 2009 4:28:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/websrv-cpp.xsl
r23223 r24679 72 72 #include <VBox/version.h> 73 73 74 #include <iprt/assert.h> 74 75 #include <iprt/initterm.h> 75 76 #include <iprt/stream.h> … … 168 169 <xsl:call-template name="emitNewline" /> 169 170 </xsl:for-each> 171 <!-- Add a default case so gcc gives us a rest, esp. on darwin. --> 172 <xsl:call-template name="emitNewlineIndent8" /> 173 <xsl:text>default:</xsl:text> 174 <xsl:call-template name="emitNewlineIndent8" /> 175 <xsl:text> AssertMsgFailed(("e=%d\n", (int)e));</xsl:text> 176 <xsl:call-template name="emitNewlineIndent8" /> 177 <xsl:value-of select="concat(' v = (vbox__', $enumname, ')0x7fffdead;')" /> 178 <xsl:call-template name="emitNewlineIndent8" /> 179 <xsl:text>break; </xsl:text> 180 <xsl:call-template name="emitNewline" /> 170 181 <xsl:text> }</xsl:text> 171 182 <xsl:call-template name="emitNewline" /> … … 202 213 <xsl:call-template name="emitNewline" /> 203 214 </xsl:for-each> 215 <!-- Insert a default case so gcc gives us a rest, esp. on darwin. --> 216 <xsl:call-template name="emitNewlineIndent8" /> 217 <xsl:text>default:</xsl:text> 218 <xsl:call-template name="emitNewlineIndent8" /> 219 <xsl:text> AssertMsgFailed(("v=%d\n", (int)v));</xsl:text> 220 <xsl:call-template name="emitNewlineIndent8" /> 221 <xsl:value-of select="concat(' e = (', $enumname, '_T)0x7fffbeef;')" /> 222 <xsl:call-template name="emitNewlineIndent8" /> 223 <xsl:text>break; </xsl:text> 224 <xsl:call-template name="emitNewline" /> 204 225 <xsl:text> }</xsl:text> 205 226 <xsl:call-template name="emitNewline" />
Note:
See TracChangeset
for help on using the changeset viewer.