Changeset 35913 in vbox
- Timestamp:
- Feb 9, 2011 12:44:03 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69940
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/array.h
r34331 r35913 619 619 620 620 AssertReturnVoid (aArg != NULL); 621 SAFEARRAY *arg = *aArg;621 SAFEARRAY *arg = aArg; 622 622 623 623 if (arg) … … 1025 1025 1026 1026 /** Internal function Never call it directly. */ 1027 SAFEARRAY * * __asInParam() { return &m.arr; }1027 SAFEARRAY * __asInParam() { return m.arr; } 1028 1028 1029 1029 /** Internal function Never call it directly. */ … … 1519 1519 1520 1520 AssertReturnVoid (aArg != NULL); 1521 SAFEARRAY *arg = *aArg;1521 SAFEARRAY *arg = aArg; 1522 1522 1523 1523 if (arg) -
trunk/include/VBox/com/defs.h
r35724 r35913 137 137 * @param aArg Parameter/attribute name. 138 138 */ 139 #define ComSafeArrayIn(aType, aArg) SAFEARRAY * *aArg139 #define ComSafeArrayIn(aType, aArg) SAFEARRAY *aArg 140 140 141 141 /** … … 143 143 * which makes it impossible to use it for reading safearray data. 144 144 */ 145 #define ComSafeArrayInIsNull(aArg) ((aArg) == NULL || *(aArg) == NULL)145 #define ComSafeArrayInIsNull(aArg) ((aArg) == NULL) 146 146 147 147 /** … … 194 194 * @param aArg Parameter name to wrap. 195 195 */ 196 #define ComSafeGUIDArrayIn(aArg) SAFEARRAY * *aArg196 #define ComSafeGUIDArrayIn(aArg) SAFEARRAY *aArg 197 197 198 198 /** -
trunk/src/VBox/Main/idl/comimpl.xsl
r35639 r35913 294 294 </xsl:variable> 295 295 <xsl:value-of select=" '#ifdef RT_OS_WINDOWS '"/> 296 <xsl:value-of select=" ' SAFEARRAY * * aPtr = va_arg(args, SAFEARRAY **); '"/>296 <xsl:value-of select=" ' SAFEARRAY * aPtr = va_arg(args, SAFEARRAY *); '"/> 297 297 <xsl:value-of select="concat(' com::SafeArray<', $elemtype,'> aArr(aPtr); ')"/> 298 298 <xsl:value-of select=" '#else '"/> -
trunk/src/VBox/Main/idl/midl.xsl
r31699 r35913 687 687 <xsl:otherwise>in</xsl:otherwise> 688 688 </xsl:choose> 689 <xsl:if test="@safearray='yes'">690 <!-- VB supports only [in, out], [out] and [out, retval] arrays -->691 <xsl:if test="@dir='in'">, out</xsl:if>692 </xsl:if>693 689 <xsl:text>] </xsl:text> 694 690 <xsl:if test="@safearray='yes'"> … … 699 695 <xsl:text>)</xsl:text> 700 696 </xsl:if> 701 <xsl:if test="@dir='out' or @dir='return' or @safearray='yes'">697 <xsl:if test="@dir='out' or @dir='return'"> 702 698 <xsl:text> *</xsl:text> 703 699 </xsl:if>
Note:
See TracChangeset
for help on using the changeset viewer.