Changeset 85290 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Jul 13, 2020 12:22:45 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/comimpl.xsl
r85286 r85290 213 213 </xsl:variable> 214 214 <xsl:value-of select="concat(' SafeArray<', $elemtype, '> aArr(ComSafeArrayInArg(',$param,')); ')"/> 215 <xsl:value-of select="concat(' ',$member, '.initFrom(aArr); ')"/> 215 <xsl:value-of select="concat(' return ',$member, '.initFrom(aArr); ')"/> 216 </xsl:when> 217 <xsl:when test="($type='wstring') or ($type='uuid')"> 218 <xsl:value-of select="concat(' return ',$member, '.assignEx(', $param, '); ')"/> 216 219 </xsl:when> 217 220 <xsl:otherwise> 218 221 <xsl:value-of select="concat(' ', $member, ' = ', $param, '; ')"/> 222 <xsl:value-of select=" ' return S_OK; '" /> 219 223 </xsl:otherwise> 220 224 </xsl:choose> … … 453 457 <xsl:with-param name="safearray" select="@safearray" /> 454 458 </xsl:call-template> 455 <xsl:value-of select=" ' return S_OK; '" />456 459 <xsl:value-of select=" ' } '" /> 457 460 </xsl:if> 458 461 459 462 <xsl:value-of select=" ' // purely internal setter '" /> 460 <xsl:value-of select="concat(' HRESULT set_', @name,'(',$pTypeNameIn, ') { ')" />463 <xsl:value-of select="concat(' inline HRESULT set_', @name,'(',$pTypeNameIn, ') { ')" /> 461 464 <xsl:call-template name="genSetParam"> 462 465 <xsl:with-param name="type" select="@type" /> … … 465 468 <xsl:with-param name="safearray" select="@safearray" /> 466 469 </xsl:call-template> 467 <xsl:value-of select=" ' return S_OK; '" />468 470 <xsl:value-of select=" ' } '" /> 469 471 </xsl:for-each>
Note:
See TracChangeset
for help on using the changeset viewer.