Changeset 13926 in vbox
- Timestamp:
- Nov 6, 2008 4:00:06 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38945
- Location:
- trunk/include/iprt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpputils.h
r10967 r13926 83 83 * the auto_ref_ptr template. 84 84 * 85 * When a class thatwants to be used with the auto_ref_ptr template it simply85 * When a class wants to be used with the auto_ref_ptr template it simply 86 86 * declares the auto_ref class among its public base classes -- there is no 87 87 * need to implement any additional methods. … … 126 126 * 127 127 * The object class to manage must provide ref() and unref() methods that have 128 * the same syntax and s ymantics as defined in the auto_ref class.128 * the same syntax and semantics as defined in the auto_ref class. 129 129 * 130 130 * @param C Class to manage. -
trunk/include/iprt/time.h
r13832 r13926 48 48 * The current representation is in nanoseconds relative to the unix epoch 49 49 * (1970-01-01 00:00:00 UTC). This gives us an approximate span from 50 * 1678 to 2262 without sacrif ying the resolution offered by the various50 * 1678 to 2262 without sacrificing the resolution offered by the various 51 51 * host OSes (BSD & LINUX 1ns, NT 100ns). 52 52 */ -
trunk/include/iprt/types.h
r13832 r13926 53 53 /* 54 54 * Kludge for the FreeBSD kernel: 55 * stddef.h and sys/types.h ha s sligtly different offsetof definitions56 * when compiling in kernel mode. This is just to make GCC keep shut.55 * stddef.h and sys/types.h have slightly different offsetof definitions 56 * when compiling in kernel mode. This is just to make GCC shut up. 57 57 */ 58 58 # ifndef _STDDEF_H_ … … 178 178 179 179 /** 180 * 16-bit unsigned inte rger union.180 * 16-bit unsigned integer union. 181 181 */ 182 182 typedef union RTUINT16U … … 196 196 } s; 197 197 } RTUINT16U; 198 /** Pointer to a 16-bit unsigned inte rger union. */198 /** Pointer to a 16-bit unsigned integer union. */ 199 199 typedef RTUINT16U *PRTUINT16U; 200 /** Pointer to a const 32-bit unsigned inte rger union. */200 /** Pointer to a const 32-bit unsigned integer union. */ 201 201 typedef const RTUINT16U *PCRTUINT16U; 202 202 203 203 204 204 /** 205 * 32-bit unsigned inte rger union.205 * 32-bit unsigned integer union. 206 206 */ 207 207 typedef union RTUINT32U … … 229 229 uint8_t au8[4]; 230 230 } RTUINT32U; 231 /** Pointer to a 32-bit unsigned inte rger union. */231 /** Pointer to a 32-bit unsigned integer union. */ 232 232 typedef RTUINT32U *PRTUINT32U; 233 /** Pointer to a const 32-bit unsigned inte rger union. */233 /** Pointer to a const 32-bit unsigned integer union. */ 234 234 typedef const RTUINT32U *PCRTUINT32U; 235 235 236 236 237 237 /** 238 * 64-bit unsigned inte rger union.238 * 64-bit unsigned integer union. 239 239 */ 240 240 typedef union RTUINT64U … … 272 272 uint8_t au8[8]; 273 273 } RTUINT64U; 274 /** Pointer to a 64-bit unsigned inte rger union. */274 /** Pointer to a 64-bit unsigned integer union. */ 275 275 typedef RTUINT64U *PRTUINT64U; 276 /** Pointer to a const 64-bit unsigned inte rger union. */276 /** Pointer to a const 64-bit unsigned integer union. */ 277 277 typedef const RTUINT64U *PCRTUINT64U; 278 278 279 279 280 280 /** 281 * 128-bit unsigned inte rger union.281 * 128-bit unsigned integer union. 282 282 */ 283 283 typedef union RTUINT128U 284 284 { 285 285 /** Natural view. 286 * WARNING! This member depends on compiler supporing 128-bit stuff. */286 * WARNING! This member depends on the compiler supporting 128-bit stuff. */ 287 287 uint128_t u; 288 288 /** Hi/Low view. */ … … 328 328 uint8_t au8[16]; 329 329 } RTUINT128U; 330 /** Pointer to a 64-bit unsigned inte rger union. */330 /** Pointer to a 64-bit unsigned integer union. */ 331 331 typedef RTUINT128U *PRTUINT128U; 332 /** Pointer to a const 64-bit unsigned inte rger union. */332 /** Pointer to a const 64-bit unsigned integer union. */ 333 333 typedef const RTUINT128U *PCRTUINT128U; 334 334 … … 535 535 # error Unsupported HC_ARCH_BITS value. 536 536 #endif 537 /** Pointer to signed inte rger which can contain a HC pointer. */537 /** Pointer to signed integer which can contain a HC pointer. */ 538 538 typedef RTHCINTPTR *PRTHCINTPTR; 539 /** Pointer to const signed inte rger which can contain a HC pointer. */539 /** Pointer to const signed integer which can contain a HC pointer. */ 540 540 typedef const RTHCINTPTR *PCRTHCINTPTR; 541 541 … … 548 548 # error Unsupported R3_ARCH_BITS value. 549 549 #endif 550 /** Pointer to signed inte rger which can contain a HC ring-3 pointer. */550 /** Pointer to signed integer which can contain a HC ring-3 pointer. */ 551 551 typedef RTR3INTPTR *PRTR3INTPTR; 552 /** Pointer to const signed inte rger which can contain a HC ring-3 pointer. */552 /** Pointer to const signed integer which can contain a HC ring-3 pointer. */ 553 553 typedef const RTR3INTPTR *PCRTR3INTPTR; 554 554 … … 561 561 # error Unsupported R0_ARCH_BITS value. 562 562 #endif 563 /** Pointer to signed inte rger which can contain a HC ring-0 pointer. */563 /** Pointer to signed integer which can contain a HC ring-0 pointer. */ 564 564 typedef RTR0INTPTR *PRTR0INTPTR; 565 /** Pointer to const signed inte rger which can contain a HC ring-0 pointer. */565 /** Pointer to const signed integer which can contain a HC ring-0 pointer. */ 566 566 typedef const RTR0INTPTR *PCRTR0INTPTR; 567 567 … … 575 575 # error Unsupported HC_ARCH_BITS value. 576 576 #endif 577 /** Pointer to unsigned inte rger which can contain a HC pointer. */577 /** Pointer to unsigned integer which can contain a HC pointer. */ 578 578 typedef RTHCUINTPTR *PRTHCUINTPTR; 579 /** Pointer to unsigned inte rger which can contain a HC pointer. */579 /** Pointer to unsigned integer which can contain a HC pointer. */ 580 580 typedef const RTHCUINTPTR *PCRTHCUINTPTR; 581 581 … … 588 588 # error Unsupported R3_ARCH_BITS value. 589 589 #endif 590 /** Pointer to unsigned inte rger which can contain a HC ring-3 pointer. */590 /** Pointer to unsigned integer which can contain a HC ring-3 pointer. */ 591 591 typedef RTR3UINTPTR *PRTR3UINTPTR; 592 /** Pointer to unsigned inte rger which can contain a HC ring-3 pointer. */592 /** Pointer to unsigned integer which can contain a HC ring-3 pointer. */ 593 593 typedef const RTR3UINTPTR *PCRTR3UINTPTR; 594 594 … … 601 601 # error Unsupported R0_ARCH_BITS value. 602 602 #endif 603 /** Pointer to unsigned inte rger which can contain a HC ring-0 pointer. */603 /** Pointer to unsigned integer which can contain a HC ring-0 pointer. */ 604 604 typedef RTR0UINTPTR *PRTR0UINTPTR; 605 /** Pointer to unsigned inte rger which can contain a HC ring-0 pointer. */605 /** Pointer to unsigned integer which can contain a HC ring-0 pointer. */ 606 606 typedef const RTR0UINTPTR *PCRTR0UINTPTR; 607 607 … … 721 721 typedef int64_t RTGCINT; 722 722 #endif 723 /** Pointer to natural signed inte rger in GC.723 /** Pointer to natural signed integer in GC. 724 724 * @deprecated silly type. */ 725 725 typedef RTGCINT *PRTGCINT; 726 /** Pointer to const natural signed inte rger in GC.726 /** Pointer to const natural signed integer in GC. 727 727 * @deprecated silly type. */ 728 728 typedef const RTGCINT *PCRTGCINT; … … 748 748 typedef int64_t RTGCINTPTR; 749 749 #endif 750 /** Pointer to signed inte rger which can contain a GC pointer. */750 /** Pointer to signed integer which can contain a GC pointer. */ 751 751 typedef RTGCINTPTR *PRTGCINTPTR; 752 /** Pointer to const signed inte rger which can contain a GC pointer. */752 /** Pointer to const signed integer which can contain a GC pointer. */ 753 753 typedef const RTGCINTPTR *PCRTGCINTPTR; 754 754 … … 761 761 # error Unsupported GC_ARCH_BITS value. 762 762 #endif 763 /** Pointer to unsigned inte rger which can contain a GC pointer. */763 /** Pointer to unsigned integer which can contain a GC pointer. */ 764 764 typedef RTGCUINTPTR *PRTGCUINTPTR; 765 /** Pointer to unsigned inte rger which can contain a GC pointer. */765 /** Pointer to unsigned integer which can contain a GC pointer. */ 766 766 typedef const RTGCUINTPTR *PCRTGCUINTPTR; 767 767 768 768 /** Unsigned integer which can contain a 32 bits GC pointer. */ 769 769 typedef uint32_t RTGCUINTPTR32; 770 /** Pointer to unsigned inte rger which can contain a 32 bits GC pointer. */770 /** Pointer to unsigned integer which can contain a 32 bits GC pointer. */ 771 771 typedef RTGCUINTPTR32 *PRTGCUINTPTR32; 772 /** Pointer to unsigned inte rger which can contain a 32 bits GC pointer. */772 /** Pointer to unsigned integer which can contain a 32 bits GC pointer. */ 773 773 typedef const RTGCUINTPTR32 *PCRTGCUINTPTR32; 774 774 775 775 /** Unsigned integer which can contain a 64 bits GC pointer. */ 776 776 typedef uint64_t RTGCUINTPTR64; 777 /** Pointer to unsigned inte rger which can contain a 32 bits GC pointer. */777 /** Pointer to unsigned integer which can contain a 32 bits GC pointer. */ 778 778 typedef RTGCUINTPTR64 *PRTGCUINTPTR64; 779 /** Pointer to unsigned inte rger which can contain a 32 bits GC pointer. */779 /** Pointer to unsigned integer which can contain a 32 bits GC pointer. */ 780 780 typedef const RTGCUINTPTR64 *PCRTGCUINTPTR64; 781 781
Note:
See TracChangeset
for help on using the changeset viewer.