- Timestamp:
- Aug 10, 2016 10:56:20 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r62901 r63247 1402 1402 /** @def IN_RT_STATIC 1403 1403 * Used to indicate whether we're linking against a static IPRT 1404 * or not. The IPRT symbols will be declared as hidden (if 1405 * supported). Note that this define has no effect without setting 1406 * IN_RT_R0, IN_RT_R3 or IN_RT_RC indicators are set first. 1404 * or not. 1405 * 1406 * The IPRT symbols will be declared as hidden (if supported). Note that this 1407 * define has no effect without also setting one of the IN_RT_R0, IN_RT_R3 or 1408 * IN_RT_RC indicators. 1407 1409 */ 1408 1410 1409 1411 /** @def IN_RT_R0 1410 * Used to indicate whether we're inside the same link module as 1411 * the HC Ring-0 Runtime Library.1412 * Used to indicate whether we're inside the same link module as the host 1413 * context ring-0 Runtime Library. 1412 1414 */ 1413 1415 /** @def RTR0DECL(type) 1414 * Runtime Library HC Ring-0 export or import declaration.1416 * Runtime Library host context ring-0 export or import declaration. 1415 1417 * @param type The return type of the function declaration. 1418 * @remarks This is only used inside IPRT. Other APIs need to define their own 1419 * XXXX_DECL macros for dealing with import/export/static visibility. 1416 1420 */ 1417 1421 #ifdef IN_RT_R0 … … 1426 1430 1427 1431 /** @def IN_RT_R3 1428 * Used to indicate whether we're inside the same link module as 1429 * the HC Ring-3 Runtime Library.1432 * Used to indicate whether we're inside the same link module as the host 1433 * context ring-3 Runtime Library. 1430 1434 */ 1431 1435 /** @def RTR3DECL(type) 1432 * Runtime Library HC Ring-3 export or import declaration.1436 * Runtime Library host context ring-3 export or import declaration. 1433 1437 * @param type The return type of the function declaration. 1438 * @remarks This is only used inside IPRT. Other APIs need to define their own 1439 * XXXX_DECL macros for dealing with import/export/static visibility. 1434 1440 */ 1435 1441 #ifdef IN_RT_R3 … … 1450 1456 * Runtime Library raw-mode context export or import declaration. 1451 1457 * @param type The return type of the function declaration. 1458 * @remarks This is only used inside IPRT. Other APIs need to define their own 1459 * XXXX_DECL macros for dealing with import/export/static visibility. 1452 1460 */ 1453 1461 #ifdef IN_RT_RC … … 1465 1473 * Functions declared using this macro exists in all contexts. 1466 1474 * @param type The return type of the function declaration. 1475 * @remarks This is only used inside IPRT. Other APIs need to define their own 1476 * XXXX_DECL macros for dealing with import/export/static visibility. 1467 1477 */ 1468 1478 #if defined(IN_RT_R3) || defined(IN_RT_RC) || defined(IN_RT_R0) … … 1480 1490 * Data declared using this macro exists in all contexts. 1481 1491 * @param type The data type. 1492 * @remarks This is only used inside IPRT. Other APIs need to define their own 1493 * XXXX_DECL macros for dealing with import/export/static visibility. 1482 1494 */ 1483 1495 /** @def RT_DECL_DATA_CONST(type) 1484 1496 * Definition of a const variable. See DECL_HIDDEN_CONST. 1485 1497 * @param type The const data type. 1498 * @remarks This is only used inside IPRT. Other APIs need to define their own 1499 * XXXX_DECL macros for dealing with import/export/static visibility. 1486 1500 */ 1487 1501 #if defined(IN_RT_R3) || defined(IN_RT_RC) || defined(IN_RT_R0) … … 1504 1518 /** @def RT_DECL_CLASS 1505 1519 * Declares an class living in the runtime. 1520 * @remarks This is only used inside IPRT. Other APIs need to define their own 1521 * XXXX_DECL macros for dealing with import/export/static visibility. 1506 1522 */ 1507 1523 #if defined(IN_RT_R3) || defined(IN_RT_RC) || defined(IN_RT_R0)
Note:
See TracChangeset
for help on using the changeset viewer.