VirtualBox

Changeset 21092 in vbox for trunk


Ignore:
Timestamp:
Jun 30, 2009 6:42:16 PM (16 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h: Added RT_STR(str) and RT_XSTR(str).

File:
1 edited

Legend:

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

    r21084 r21092  
    874874# define RT_UNLIKELY(expr)      (expr)
    875875#endif
     876
     877
     878/** @def RT_STR
     879 * Returns the argument as a string constant.
     880 * @param   str     Argument to stringify.  */
     881#define RT_STR(str)             #str
     882/** @def RT_XSTR
     883 * Returns the expanded argument as a string.
     884 * @param   str     Argument to expand and stringy. */
     885#define RT_XSTR(str)            RT_STR(str)
    876886
    877887
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