Changeset 30068 in vbox
- Timestamp:
- Jun 7, 2010 12:40:17 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62439
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/types.h
r28800 r30068 464 464 /** Pointer const to signed integer which can contain both GC and HC pointers. */ 465 465 typedef const RTINTPTR *PCRTINTPTR; 466 /** The maximum value the RTINTPTR type can hold. */ 467 #if (HC_ARCH_BITS == 32 && GC_ARCH_BITS == 32) 468 # define RTINTPTR_MAX INT32_MAX 469 #elif (HC_ARCH_BITS == 64 || GC_ARCH_BITS == 64) 470 # define RTINTPTR_MAX INT64_MAX 471 #else 472 # error Unsupported HC_ARCH_BITS and/or GC_ARCH_BITS values. 473 #endif 474 /** The minimum value the RTINTPTR type can hold. */ 475 #if (HC_ARCH_BITS == 32 && GC_ARCH_BITS == 32) 476 # define RTINTPTR_MIN INT32_MIN 477 #elif (HC_ARCH_BITS == 64 || GC_ARCH_BITS == 64) 478 # define RTINTPTR_MIN INT64_MIN 479 #else 480 # error Unsupported HC_ARCH_BITS and/or GC_ARCH_BITS values. 481 #endif 466 482 467 483 /** Unsigned integer which can contain both GC and HC pointers. */
Note:
See TracChangeset
for help on using the changeset viewer.