VirtualBox

Changeset 36569 in vbox for trunk/include/iprt/mem.h


Ignore:
Timestamp:
Apr 6, 2011 9:16:07 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71005
Message:

iprt/mem.h: an alternative RTMEM_TAG including the line number

File:
1 edited

Legend:

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

    r36538 r36569  
    5959 * will default to the pointer to the current file name.  The memory API will
    6060 * make of use of this as pointer to a volatile but read-only string.
     61 * The alternative tag includes the line number for a more-detailed analysis.
    6162 */
    6263#ifndef RTMEM_TAG
    63 # define RTMEM_TAG   (__FILE__)
     64# if 0
     65#  define RTMEM_TAG   (__FILE__ ":" RT_XSTR(__LINE__))
     66# else
     67#  define RTMEM_TAG   (__FILE__)
     68# endif
    6469#endif
    6570
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