Changeset 6875 in vbox
- Timestamp:
- Feb 10, 2008 2:37:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/doxygen.xsl
r5999 r6875 7 7 8 8 Copyright (C) 2006-2007 innotek GmbH 9 9 10 10 This file is part of VirtualBox Open Source Edition (OSE), as 11 11 available from http://www.virtualbox.org. This file is free software; … … 393 393 --> 394 394 <xsl:template match="interface//attribute | collection//attribute"> 395 <xsl:if test="@array"> 396 <xsl:message terminate="yes"> 397 <xsl:value-of select="concat(../../@name,'::',../@name,'::',@name,': ')"/> 398 <xsl:text>'array' attributes are not supported, use 'safearray="yes"' instead.</xsl:text> 399 </xsl:message> 400 </xsl:if> 395 401 <xsl:apply-templates select="@if" mode="begin"/> 396 402 <xsl:apply-templates select="desc"/> … … 526 532 <xsl:message terminate="yes"> 527 533 <xsl:value-of select="concat(../../@name,'::',../@name,'::',@name,': ')"/> 528 <xsl:text>return array parameters are not currently supported</xsl:text>534 <xsl:text>return 'array' parameters are not supported, use 'safearray="yes"' instead.</xsl:text> 529 535 </xsl:message> 530 536 </xsl:if> … … 580 586 <xsl:variable name="self_target" select="current()/ancestor::if/@target"/> 581 587 588 <xsl:if test="../@array and ../@safearray='yes'"> 589 <xsl:message terminate="yes"> 590 <xsl:value-of select="concat(../../../@name,'::',../../@name,'::',../@name,': ')"/> 591 <xsl:text>either 'array' or 'safearray="yes"' attribute is allowed, but not both!</xsl:text> 592 </xsl:message> 593 </xsl:if> 594 582 595 <xsl:choose> 583 596 <!-- modifiers (ignored for 'enumeration' attributes)--> 584 597 <xsl:when test="name(current())='type' and ../@mod"> 585 <xsl:if test="../@array">586 <xsl:message terminate="yes">587 <xsl:value-of select="concat(../../../@name,'::',../../@name,'::',../@name,': ')"/>588 <xsl:text>either 'array' or 'mod' attribute is allowed, but not both!</xsl:text>589 </xsl:message>590 </xsl:if>591 598 <xsl:choose> 592 599 <xsl:when test="../@mod='ptr'"> … … 683 690 </xsl:otherwise> 684 691 </xsl:choose> 692 <xsl:if test="../@safearray='yes'"> 693 <xsl:text>[]</xsl:text> 694 </xsl:if> 685 695 </xsl:template> 686 696
Note:
See TracChangeset
for help on using the changeset viewer.