Changeset 17817 in vbox for trunk/include/iprt
- Timestamp:
- Mar 13, 2009 12:46:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r16432 r17817 986 986 987 987 /** @def RT_ELEMENTS 988 * Calc s the number of elements in an array.988 * Calculates the number of elements in an array. 989 989 * @returns Element count. 990 990 * @param aArray Array in question. … … 1459 1459 1460 1460 /** @def NOREF 1461 * Keeps the compiler from bitching about an unused parameter s.1461 * Keeps the compiler from bitching about an unused parameter. 1462 1462 */ 1463 1463 #define NOREF(var) (void)(var) … … 1561 1561 1562 1562 /** @def N_ 1563 * The \#define N_ is used mark a string for translation. This is usable in1563 * The \#define N_ is used to mark a string for translation. This is usable in 1564 1564 * any part of the code, as it is only used by the tools that create message 1565 1565 * catalogs. This macro is a no-op as far as the compiler and code generation 1566 1566 * is concerned. 1567 1567 * 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 _(). 1569 1569 */ 1570 1570 #define N_(s) (s) 1571 1571 1572 1572 /** @def _ 1573 * The \#define _ is used mark a string for translation and to translate it in1574 * 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_(). 1577 1577 */ 1578 1578 #define _(s) gettext(s) … … 1580 1580 1581 1581 /** @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. 1583 1584 */ 1584 1585 #if !defined(__GNUC__) && !defined(__PRETTY_FUNCTION__) … … 1588 1589 1589 1590 /** @def RT_STRICT 1590 * The \#define RT_STRICT controls whether or not assertions and other runtime checks1591 * should be compiled in or not.1592 * 1593 * If you want assertions which are not asubject to compile time options use1591 * 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 1594 1595 * the AssertRelease*() flavors. 1595 1596 */
Note:
See TracChangeset
for help on using the changeset viewer.