VirtualBox

Changeset 25608 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Dec 31, 2009 1:25:24 PM (15 years ago)
Author:
vboxsync
Message:

iprt/magics: UINT32_C.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r25607 r25608  
    3636
    3737/** Magic number for RTDBGMODINT::u32Magic. (Charles Lloyd) */
    38 #define RTDBGAS_MAGIC               0x19380315
     38#define RTDBGAS_MAGIC                   UINT32_C(0x19380315)
    3939/** Magic number for RTDBGMODINT::u32Magic. (Keith Jarrett) */
    40 #define RTDBGMOD_MAGIC              0x19450508
     40#define RTDBGMOD_MAGIC                  UINT32_C(0x19450508)
    4141/** Magic number for RTDBGMODVTIMG::u32Magic. (Jack DeJohnette) */
    42 #define RTDBGMODVTDBG_MAGIC         0x19420809
     42#define RTDBGMODVTDBG_MAGIC             UINT32_C(0x19420809)
    4343/** Magic number for RTDBGMODVTIMG::u32Magic. (Cecil McBee) */
    44 #define RTDBGMODVTIMG_MAGIC         0x19350419
     44#define RTDBGMODVTIMG_MAGIC             UINT32_C(0x19350419)
    4545/** The value of RTDIR::u32Magic. (Michael Ende) */
    46 #define RTDIR_MAGIC                 0x19291112
     46#define RTDIR_MAGIC                     UINT32_C(0x19291112)
    4747/** The value of RTDIR::u32Magic after RTDirClose().  */
    48 #define RTDIR_MAGIC_DEAD            0x19950829
     48#define RTDIR_MAGIC_DEAD                UINT32_C(0x19950829)
    4949/** The value of RTFILEAIOCTXINT::u32Magic. (Howard Phillips Lovecraft) */
    50 #define RTFILEAIOCTX_MAGIC          0x18900820
     50#define RTFILEAIOCTX_MAGIC              UINT32_C(0x18900820)
    5151/** The value of RTFILEAIOCTXINT::u32Magic after RTFileAioCtxDestroy(). */
    52 #define RTFILEAIOCTX_MAGIC_DEAD     0x19370315
     52#define RTFILEAIOCTX_MAGIC_DEAD         UINT32_C(0x19370315)
    5353/** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King)  */
    54 #define RTFILEAIOREQ_MAGIC          0x19470921
     54#define RTFILEAIOREQ_MAGIC              UINT32_C(0x19470921)
    5555/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
    56 #define RTENV_MAGIC                 0x19571010
     56#define RTENV_MAGIC                     UINT32_C(0x19571010)
    5757/** Magic number for RTHANDLETABLEINT::u32Magic. (Hitomi Kanehara) */
    58 #define RTHANDLETABLE_MAGIC         0x19830808
     58#define RTHANDLETABLE_MAGIC             UINT32_C(0x19830808)
    5959/** Magic number for RTHEAPOFFSETINTERNAL::u32Magic. (Neal Town Stephenson) */
    60 #define RTHEAPOFFSET_MAGIC          0x19591031
     60#define RTHEAPOFFSET_MAGIC              UINT32_C(0x19591031)
    6161/** Magic number for RTHEAPSIMPLEINTERNAL::uMagic. (Kyoichi Katayama) */
    62 #define RTHEAPSIMPLE_MAGIC          0x19590105
     62#define RTHEAPSIMPLE_MAGIC              UINT32_C(0x19590105)
    6363/** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
    64 #define RTLDRMOD_MAGIC              0x19531118
     64#define RTLDRMOD_MAGIC                  UINT32_C(0x19531118)
    6565/** The magic value for RTLOCALIPCSERVER::u32Magic. (Naoki Yamamoto) */
    66 #define RTLOCALIPCSERVER_MAGIC      0x19600201
     66#define RTLOCALIPCSERVER_MAGIC          UINT32_C(0x19600201)
    6767/** The magic value for RTLOCALIPCSERVER::u32Magic. (Katsuhiro Otomo) */
    68 #define RTLOCALIPCSESSION_MAGIC     0x19530414
     68#define RTLOCALIPCSESSION_MAGIC         UINT32_C(0x19530414)
    6969/** The magic value for RTLOCKVALIDATORREC::u32Magic. (Vladimir Vladimirovich Nabokov) */
    70 #define RTLOCKVALRECEXCL_MAGIC      0x18990422
     70#define RTLOCKVALRECEXCL_MAGIC          UINT32_C(0x18990422)
    7171/** The dead magic value for RTLOCKVALIDATORREC::u32Magic. */
    72 #define RTLOCKVALRECEXCL_MAGIC_DEAD 0x19770702
     72#define RTLOCKVALRECEXCL_MAGIC_DEAD     UINT32_C(0x19770702)
    7373/** The magic value for RTLOCKVALRECSHRD::u32Magic. (Agnar Mykle) */
    74 #define RTLOCKVALRECSHRD_MAGIC      0x19150808
     74#define RTLOCKVALRECSHRD_MAGIC          UINT32_C(0x19150808)
    7575/** The magic value for RTLOCKVALRECSHRD::u32Magic after deletion. */
    76 #define RTLOCKVALRECSHRD_MAGIC_DEAD 0x19940115
     76#define RTLOCKVALRECSHRD_MAGIC_DEAD     UINT32_C(0x19940115)
    7777/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic. (Jens Ingvald Bjoerneboe) */
    78 #define RTLOCKVALRECSHRDOWN_MAGIC   0x19201009
     78#define RTLOCKVALRECSHRDOWN_MAGIC       UINT32_C(0x19201009)
    7979/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic after deletion. */
    80 #define RTLOCKVALRECSHRDOWN_MAGIC_DEAD 0x19760509
     80#define RTLOCKVALRECSHRDOWN_MAGIC_DEAD  UINT32_C(0x19760509)
    8181/** Magic number for RTMEMCACHEINT::u32Magic. (Joseph Weizenbaum) */
    82 #define RTMEMCACHE_MAGIC            0x19230108
     82#define RTMEMCACHE_MAGIC                UINT32_C(0x19230108)
    8383/** Dead magic number for RTMEMCACHEINT::u32Magic. */
    84 #define RTMEMCACHE_MAGIC_DEAD       0x20080305
     84#define RTMEMCACHE_MAGIC_DEAD           UINT32_C(0x20080305)
    8585/** The magic value for RTMEMPOOL::u32Magic. (Jane Austin) */
    86 #define RTMEMPOOL_MAGIC             0x17751216
     86#define RTMEMPOOL_MAGIC                 UINT32_C(0x17751216)
    8787/** The magic value for RTMEMPOOL::u32Magic after RTMemPoolDestroy. */
    88 #define RTMEMPOOL_MAGIC_DEAD        0x18170718
     88#define RTMEMPOOL_MAGIC_DEAD            UINT32_C(0x18170718)
    8989/** Magic number for heap blocks. (Edgar Allan Poe) */
    90 #define RTMEMHDR_MAGIC              0x18090119
     90#define RTMEMHDR_MAGIC                  UINT32_C(0x18090119)
    9191/** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
    92 #define RTR0MEMOBJ_MAGIC            0x19611210
     92#define RTR0MEMOBJ_MAGIC                UINT32_C(0x19611210)
    9393/** RTRANDINT::u32Magic. (Alan Moore) */
    94 #define RTRANDINT_MAGIC             0x19531118
     94#define RTRANDINT_MAGIC                 UINT32_C(0x19531118)
    9595/** Magic for the event semaphore structure. (Neil Gaiman) */
    96 #define RTSEMEVENT_MAGIC            0x19601110
     96#define RTSEMEVENT_MAGIC                UINT32_C(0x19601110)
    9797/** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
    98 #define RTSEMEVENTMULTI_MAGIC       0x19200102
     98#define RTSEMEVENTMULTI_MAGIC           UINT32_C(0x19200102)
    9999/** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
    100 #define RTSEMFASTMUTEX_MAGIC        0x18920103
     100#define RTSEMFASTMUTEX_MAGIC            UINT32_C(0x18920103)
    101101/** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
    102 #define RTSEMFASTMUTEX_MAGIC_DEAD   0x19730902
     102#define RTSEMFASTMUTEX_MAGIC_DEAD       UINT32_C(0x19730902)
    103103/** Magic for the mutex semaphore structure. (Douglas Adams) */
    104 #define RTSEMMUTEX_MAGIC            0x19520311
     104#define RTSEMMUTEX_MAGIC                UINT32_C(0x19520311)
    105105/** Dead magic for the mutex semaphore structure. */
    106 #define RTSEMMUTEX_MAGIC_DEAD       0x20010511
     106#define RTSEMMUTEX_MAGIC_DEAD           UINT32_C(0x20010511)
    107107/** Magic for the spinning mutex semaphore structure. (Natsume Soseki) */
    108 #define RTSEMSPINMUTEX_MAGIC        0x18670209
     108#define RTSEMSPINMUTEX_MAGIC            UINT32_C(0x18670209)
    109109/** Dead magic value for RTSEMSPINMUTEXINTERNAL::u32Magic. */
    110 #define RTSEMSPINMUTEX_MAGIC_DEAD   0x19161209
     110#define RTSEMSPINMUTEX_MAGIC_DEAD       UINT32_C(0x19161209)
    111111/** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
    112 #define RTSEMRW_MAGIC               0x19640707
     112#define RTSEMRW_MAGIC                   UINT32_C(0x19640707)
    113113/** RTSEMXROADSINTERNAL::u32Magic value. (Kenneth Elton "Ken" Kesey) */
    114 #define RTSEMXROADS_MAGIC           0x19350917
     114#define RTSEMXROADS_MAGIC               UINT32_C(0x19350917)
    115115/** RTSEMXROADSINTERNAL::u32Magic value after RTSemXRoadsDestroy. */
    116 #define RTSEMXROADS_MAGIC_DEAD      0x20011110
     116#define RTSEMXROADS_MAGIC_DEAD          UINT32_C(0x20011110)
    117117/** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
    118 #define RTSPINLOCK_MAGIC            0x19480428
     118#define RTSPINLOCK_MAGIC                UINT32_C(0x19480428)
    119119/** Magic value for RTSTRCACHE::u32Magic. (Sir Arthur Charles Clarke) */
    120 #define RTSTRCACHE_MAGIC            0x19171216
     120#define RTSTRCACHE_MAGIC                UINT32_C(0x19171216)
    121121/** Magic value for RTSTRCACHE::u32Magic after RTStrCacheDestroy. */
    122 #define RTSTRCACHE_MAGIC_DEAD       0x20080319
     122#define RTSTRCACHE_MAGIC_DEAD           UINT32_C(0x20080319)
    123123/** The value of RTSTREAM::u32Magic for a valid stream. */
    124 #define RTSTREAM_MAGIC              0xe44e44ee
     124#define RTSTREAM_MAGIC                  UINT32_C(0xe44e44ee)
    125125/** Magic value for RTTCPSERVER::u32Magic. (Jan Garbarek) */
    126 #define RTTCPSERVER_MAGIC           0x19540304
     126#define RTTCPSERVER_MAGIC               UINT32_C(0x19540304)
    127127/** RTTESTINT::u32Magic value. (Daniel Kehlmann) */
    128 #define RTTESTINT_MAGIC             0x19750113
     128#define RTTESTINT_MAGIC                 UINT32_C(0x19750113)
    129129/** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
    130 #define RTTHREADINT_MAGIC           0x18740529
     130#define RTTHREADINT_MAGIC               UINT32_C(0x18740529)
    131131/** RTTHREADINT::u32Magic value for a dead thread. */
    132 #define RTTHREADINT_MAGIC_DEAD      0x19360614
     132#define RTTHREADINT_MAGIC_DEAD          UINT32_C(0x19360614)
    133133/** Magic number for timer handles. (Jared Mason Diamond) */
    134 #define RTTIMER_MAGIC               0x19370910
     134#define RTTIMER_MAGIC                   UINT32_C(0x19370910)
    135135/** Magic number for timer low resolution handles. (Saki Hiwatari) */
    136 #define RTTIMERLR_MAGIC             0x19610715
     136#define RTTIMERLR_MAGIC                 UINT32_C(0x19610715)
    137137/** The value of RTS3::u32Magic. (Edgar Wallace) */
    138 #define RTS3_MAGIC                  0x18750401
     138#define RTS3_MAGIC                      UINT32_C(0x18750401)
    139139/** The value of RTS3::u32Magic after RTS3Destroy().  */
    140 #define RTS3_MAGIC_DEAD             0x19320210
     140#define RTS3_MAGIC_DEAD                 UINT32_C(0x19320210)
    141141
    142142/** @} */
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