VirtualBox

Ignore:
Timestamp:
Mar 1, 2013 6:35:05 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84060
Message:

Storage/VDScript: Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/testcase/VDScript.h

    r44811 r44891  
    5252 * Script argument.
    5353 */
    54 typedef union VDSCRIPTARG
     54typedef struct VDSCRIPTARG
    5555{
    56     uint8_t     u8;
    57     int8_t      i8;
    58     uint16_t    u16;
    59     int16_t     i16;
    60     uint32_t    u32;
    61     int32_t     i32;
    62     uint64_t    u64;
    63     int64_t     i64;
    64     const char *psz;
    65     bool        f;
     56    /** Type of the argument. */
     57    VDSCRIPTTYPE    enmType;
     58    /** Value */
     59    union
     60    {
     61        uint8_t     u8;
     62        int8_t      i8;
     63        uint16_t    u16;
     64        int16_t     i16;
     65        uint32_t    u32;
     66        int32_t     i32;
     67        uint64_t    u64;
     68        int64_t     i64;
     69        const char *psz;
     70        bool        f;
     71    };
    6672} VDSCRIPTARG;
    6773/** Pointer to an argument. */
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