VirtualBox

Changeset 16346 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 28, 2009 9:56:09 PM (16 years ago)
Author:
vboxsync
Message:

IPRT/sanity.h: Check the basic stdint.h types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/sanity.h

    r13832 r16346  
    164164
    165165AssertCompileSize(void *, 8);
     166AssertCompileSize(intptr_t, 8);
     167AssertCompileSize(uintptr_t, 8);
     168AssertCompileSize(size_t, 8);
     169AssertCompileSize(ssize_t, 8);
    166170
    167171#else
    168172
    169173AssertCompileSize(void *, 4);
     174AssertCompileSize(intptr_t, 4);
     175AssertCompileSize(uintptr_t, 4);
     176AssertCompileSize(size_t, 4);
     177AssertCompileSize(ssize_t, 4);
    170178
    171179#endif
     180
     181
     182/*
     183 * Standard sized types.
     184 */
     185AssertCompileSize(uint8_t,  1);
     186AssertCompileSize(uint16_t, 2);
     187AssertCompileSize(uint32_t, 4);
     188AssertCompileSize(uint64_t, 8);
     189
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