VirtualBox

Changeset 11390 in vbox for trunk/include


Ignore:
Timestamp:
Aug 13, 2008 1:39:20 PM (16 years ago)
Author:
vboxsync
Message:

Changed definition of ComSafeArrayInIsNull to work properly on Windows as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/defs.h

    r9332 r11390  
    120120 * which makes it impossible to use it for reading safearray data.
    121121 */
    122 #define ComSafeArrayInIsNull(aArg)      (aArg == NULL)
     122#define ComSafeArrayInIsNull(aArg)      (aArg == NULL || *aArg == NULL)
    123123
    124124/**
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