VirtualBox

Changeset 17817 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Mar 13, 2009 12:46:37 PM (16 years ago)
Author:
vboxsync
Message:

Correct some typos in comments; adjust some line lengths to fit in 80 cols.

File:
1 edited

Legend:

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

    r16432 r17817  
    986986
    987987/** @def RT_ELEMENTS
    988  * Calcs the number of elements in an array.
     988 * Calculates the number of elements in an array.
    989989 * @returns Element count.
    990990 * @param   aArray      Array in question.
     
    14591459
    14601460/** @def NOREF
    1461  * Keeps the compiler from bitching about an unused parameters.
     1461 * Keeps the compiler from bitching about an unused parameter.
    14621462 */
    14631463#define NOREF(var)               (void)(var)
     
    15611561
    15621562/** @def N_
    1563  * The \#define N_ is used mark a string for translation. This is usable in
     1563 * The \#define N_ is used to mark a string for translation. This is usable in
    15641564 * any part of the code, as it is only used by the tools that create message
    15651565 * catalogs. This macro is a no-op as far as the compiler and code generation
    15661566 * is concerned.
    15671567 *
    1568  * If you want to both mark a string for translation and translate it, use _.
     1568 * If you want to both mark a string for translation and translate it, use _().
    15691569 */
    15701570#define N_(s) (s)
    15711571
    15721572/** @def _
    1573  * The \#define _ is used mark a string for translation and to translate it in
    1574  * one step.
    1575  *
    1576  * If you want to only mark a string for translation, use N_.
     1573 * The \#define _ is used to mark a string for translation and to translate it
     1574 * in one step.
     1575 *
     1576 * If you want to only mark a string for translation, use N_().
    15771577 */
    15781578#define _(s) gettext(s)
     
    15801580
    15811581/** @def __PRETTY_FUNCTION__
    1582  *  With GNU C we'd like to use the builtin __PRETTY_FUNCTION__, so define that for the other compilers.
     1582 *  With GNU C we'd like to use the builtin __PRETTY_FUNCTION__, so define that
     1583 *  for the other compilers.
    15831584 */
    15841585#if !defined(__GNUC__) && !defined(__PRETTY_FUNCTION__)
     
    15881589
    15891590/** @def RT_STRICT
    1590  * The \#define RT_STRICT controls whether or not assertions and other runtime checks
    1591  * should be compiled in or not.
    1592  *
    1593  * If you want assertions which are not a subject to compile time options use
     1591 * The \#define RT_STRICT controls whether or not assertions and other runtime
     1592 * checks should be compiled in or not.
     1593 *
     1594 * If you want assertions which are not subject to compile time options use
    15941595 * the AssertRelease*() flavors.
    15951596 */
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