VirtualBox

Ignore:
Timestamp:
Jan 31, 2007 3:57:59 PM (18 years ago)
Author:
vboxsync
Message:

Main/XIDL: Added support for the @mod attribute (with 'ptr' the only valud value for now) to declare attributes and method parameters as raw C/C++ pointers (which will make the corresponding methods non-scriptable in e.g. XPCOM but avoid 32/64 bit problems with passing pointers over COM).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/COMDefs.h

    r382 r469  
    9696    #define IUnknown    nsISupports
    9797
    98     #define LONG        int32_t
    99     #define ULONG       uint32_t
    100     #define LONG64      int64_t
    101     #define ULONG64     uint64_t
    102     #define USHORT      uint16_t
    103     #define SHORT       int16_t
    10498    #define BOOL        PRBool
     99    #define BYTE        PRUint8
     100    #define SHORT       PRInt16
     101    #define USHORT      PRUint16
     102    #define LONG        PRInt32
     103    #define ULONG       PRUint32
     104    #define LONG64      PRInt64
     105    #define ULONG64     PRUint64
     106
    105107    #define BSTR        PRUnichar*
    106108    #define LPBSTR      BSTR*
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