VirtualBox

Changeset 13926 in vbox


Ignore:
Timestamp:
Nov 6, 2008 4:00:06 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38945
Message:

Correct a few minor typos in comments. No content changes.

Location:
trunk/include/iprt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpputils.h

    r10967 r13926  
    8383 * the auto_ref_ptr template.
    8484 *
    85  * When a class that wants to be used with the auto_ref_ptr template it simply
     85 * When a class wants to be used with the auto_ref_ptr template it simply
    8686 * declares the auto_ref class among its public base classes -- there is no
    8787 * need to implement any additional methods.
     
    126126 *
    127127 * The object class to manage must provide ref() and unref() methods that have
    128  * the same syntax and symantics as defined in the auto_ref class.
     128 * the same syntax and semantics as defined in the auto_ref class.
    129129 *
    130130 * @param C     Class to manage.
  • trunk/include/iprt/time.h

    r13832 r13926  
    4848 * The current representation is in nanoseconds relative to the unix epoch
    4949 * (1970-01-01 00:00:00 UTC). This gives us an approximate span from
    50  * 1678 to 2262 without sacrifying the resolution offered by the various
     50 * 1678 to 2262 without sacrificing the resolution offered by the various
    5151 * host OSes (BSD & LINUX 1ns, NT 100ns).
    5252 */
  • trunk/include/iprt/types.h

    r13832 r13926  
    5353    /*
    5454     * Kludge for the FreeBSD kernel:
    55      *  stddef.h and sys/types.h has sligtly different offsetof definitions
    56      *  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.
    5757     */
    5858#  ifndef _STDDEF_H_
     
    178178
    179179/**
    180  * 16-bit unsigned interger union.
     180 * 16-bit unsigned integer union.
    181181 */
    182182typedef union RTUINT16U
     
    196196    } s;
    197197} RTUINT16U;
    198 /** Pointer to a 16-bit unsigned interger union. */
     198/** Pointer to a 16-bit unsigned integer union. */
    199199typedef RTUINT16U *PRTUINT16U;
    200 /** Pointer to a const 32-bit unsigned interger union. */
     200/** Pointer to a const 32-bit unsigned integer union. */
    201201typedef const RTUINT16U *PCRTUINT16U;
    202202
    203203
    204204/**
    205  * 32-bit unsigned interger union.
     205 * 32-bit unsigned integer union.
    206206 */
    207207typedef union RTUINT32U
     
    229229    uint8_t     au8[4];
    230230} RTUINT32U;
    231 /** Pointer to a 32-bit unsigned interger union. */
     231/** Pointer to a 32-bit unsigned integer union. */
    232232typedef RTUINT32U *PRTUINT32U;
    233 /** Pointer to a const 32-bit unsigned interger union. */
     233/** Pointer to a const 32-bit unsigned integer union. */
    234234typedef const RTUINT32U *PCRTUINT32U;
    235235
    236236
    237237/**
    238  * 64-bit unsigned interger union.
     238 * 64-bit unsigned integer union.
    239239 */
    240240typedef union RTUINT64U
     
    272272    uint8_t     au8[8];
    273273} RTUINT64U;
    274 /** Pointer to a 64-bit unsigned interger union. */
     274/** Pointer to a 64-bit unsigned integer union. */
    275275typedef RTUINT64U *PRTUINT64U;
    276 /** Pointer to a const 64-bit unsigned interger union. */
     276/** Pointer to a const 64-bit unsigned integer union. */
    277277typedef const RTUINT64U *PCRTUINT64U;
    278278
    279279
    280280/**
    281  * 128-bit unsigned interger union.
     281 * 128-bit unsigned integer union.
    282282 */
    283283typedef union RTUINT128U
    284284{
    285285    /** 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. */
    287287    uint128_t   u;
    288288    /** Hi/Low view. */
     
    328328    uint8_t     au8[16];
    329329} RTUINT128U;
    330 /** Pointer to a 64-bit unsigned interger union. */
     330/** Pointer to a 64-bit unsigned integer union. */
    331331typedef RTUINT128U *PRTUINT128U;
    332 /** Pointer to a const 64-bit unsigned interger union. */
     332/** Pointer to a const 64-bit unsigned integer union. */
    333333typedef const RTUINT128U *PCRTUINT128U;
    334334
     
    535535#  error Unsupported HC_ARCH_BITS value.
    536536#endif
    537 /** Pointer to signed interger which can contain a HC pointer. */
     537/** Pointer to signed integer which can contain a HC pointer. */
    538538typedef RTHCINTPTR     *PRTHCINTPTR;
    539 /** Pointer to const signed interger which can contain a HC pointer. */
     539/** Pointer to const signed integer which can contain a HC pointer. */
    540540typedef const RTHCINTPTR *PCRTHCINTPTR;
    541541
     
    548548#  error Unsupported R3_ARCH_BITS value.
    549549#endif
    550 /** Pointer to signed interger which can contain a HC ring-3 pointer. */
     550/** Pointer to signed integer which can contain a HC ring-3 pointer. */
    551551typedef RTR3INTPTR     *PRTR3INTPTR;
    552 /** Pointer to const signed interger which can contain a HC ring-3 pointer. */
     552/** Pointer to const signed integer which can contain a HC ring-3 pointer. */
    553553typedef const RTR3INTPTR *PCRTR3INTPTR;
    554554
     
    561561#  error Unsupported R0_ARCH_BITS value.
    562562#endif
    563 /** Pointer to signed interger which can contain a HC ring-0 pointer. */
     563/** Pointer to signed integer which can contain a HC ring-0 pointer. */
    564564typedef RTR0INTPTR     *PRTR0INTPTR;
    565 /** Pointer to const signed interger which can contain a HC ring-0 pointer. */
     565/** Pointer to const signed integer which can contain a HC ring-0 pointer. */
    566566typedef const RTR0INTPTR *PCRTR0INTPTR;
    567567
     
    575575#  error Unsupported HC_ARCH_BITS value.
    576576#endif
    577 /** Pointer to unsigned interger which can contain a HC pointer. */
     577/** Pointer to unsigned integer which can contain a HC pointer. */
    578578typedef RTHCUINTPTR    *PRTHCUINTPTR;
    579 /** Pointer to unsigned interger which can contain a HC pointer. */
     579/** Pointer to unsigned integer which can contain a HC pointer. */
    580580typedef const RTHCUINTPTR *PCRTHCUINTPTR;
    581581
     
    588588#  error Unsupported R3_ARCH_BITS value.
    589589#endif
    590 /** Pointer to unsigned interger which can contain a HC ring-3 pointer. */
     590/** Pointer to unsigned integer which can contain a HC ring-3 pointer. */
    591591typedef RTR3UINTPTR    *PRTR3UINTPTR;
    592 /** Pointer to unsigned interger which can contain a HC ring-3 pointer. */
     592/** Pointer to unsigned integer which can contain a HC ring-3 pointer. */
    593593typedef const RTR3UINTPTR *PCRTR3UINTPTR;
    594594
     
    601601#  error Unsupported R0_ARCH_BITS value.
    602602#endif
    603 /** Pointer to unsigned interger which can contain a HC ring-0 pointer. */
     603/** Pointer to unsigned integer which can contain a HC ring-0 pointer. */
    604604typedef RTR0UINTPTR    *PRTR0UINTPTR;
    605 /** Pointer to unsigned interger which can contain a HC ring-0 pointer. */
     605/** Pointer to unsigned integer which can contain a HC ring-0 pointer. */
    606606typedef const RTR0UINTPTR *PCRTR0UINTPTR;
    607607
     
    721721typedef int64_t         RTGCINT;
    722722#endif
    723 /** Pointer to natural signed interger in GC.
     723/** Pointer to natural signed integer in GC.
    724724 * @deprecated silly type. */
    725725typedef RTGCINT        *PRTGCINT;
    726 /** Pointer to const natural signed interger in GC.
     726/** Pointer to const natural signed integer in GC.
    727727 * @deprecated silly type. */
    728728typedef const RTGCINT  *PCRTGCINT;
     
    748748typedef int64_t         RTGCINTPTR;
    749749#endif
    750 /** Pointer to signed interger which can contain a GC pointer. */
     750/** Pointer to signed integer which can contain a GC pointer. */
    751751typedef RTGCINTPTR     *PRTGCINTPTR;
    752 /** Pointer to const signed interger which can contain a GC pointer. */
     752/** Pointer to const signed integer which can contain a GC pointer. */
    753753typedef const RTGCINTPTR *PCRTGCINTPTR;
    754754
     
    761761#  error Unsupported GC_ARCH_BITS value.
    762762#endif
    763 /** Pointer to unsigned interger which can contain a GC pointer. */
     763/** Pointer to unsigned integer which can contain a GC pointer. */
    764764typedef RTGCUINTPTR     *PRTGCUINTPTR;
    765 /** Pointer to unsigned interger which can contain a GC pointer. */
     765/** Pointer to unsigned integer which can contain a GC pointer. */
    766766typedef const RTGCUINTPTR *PCRTGCUINTPTR;
    767767
    768768/** Unsigned integer which can contain a 32 bits GC pointer. */
    769769typedef uint32_t        RTGCUINTPTR32;
    770 /** Pointer to unsigned interger which can contain a 32 bits GC pointer. */
     770/** Pointer to unsigned integer which can contain a 32 bits GC pointer. */
    771771typedef RTGCUINTPTR32   *PRTGCUINTPTR32;
    772 /** Pointer to unsigned interger which can contain a 32 bits GC pointer. */
     772/** Pointer to unsigned integer which can contain a 32 bits GC pointer. */
    773773typedef const RTGCUINTPTR32 *PCRTGCUINTPTR32;
    774774
    775775/** Unsigned integer which can contain a 64 bits GC pointer. */
    776776typedef uint64_t        RTGCUINTPTR64;
    777 /** Pointer to unsigned interger which can contain a 32 bits GC pointer. */
     777/** Pointer to unsigned integer which can contain a 32 bits GC pointer. */
    778778typedef RTGCUINTPTR64   *PRTGCUINTPTR64;
    779 /** Pointer to unsigned interger which can contain a 32 bits GC pointer. */
     779/** Pointer to unsigned integer which can contain a 32 bits GC pointer. */
    780780typedef const RTGCUINTPTR64 *PCRTGCUINTPTR64;
    781781
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette