VirtualBox

Changeset 57432 in vbox for trunk/include/iprt/memsafer.h


Ignore:
Timestamp:
Aug 18, 2015 2:57:46 PM (9 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h,*: Split RT_NO_THROW into prototype and definition macros named RT_NO_THROW_PROTO and RT_NO_THROW_DEF respecitively.

File:
1 edited

Legend:

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

    r56291 r57432  
    108108 * @param   pszTag      Allocation tag used for statistics and such.
    109109 */
    110 RTDECL(int) RTMemSaferAllocZExTag(void **ppvNew, size_t cb, uint32_t fFlags, const char *pszTag) RT_NO_THROW;
     110RTDECL(int) RTMemSaferAllocZExTag(void **ppvNew, size_t cb, uint32_t fFlags, const char *pszTag) RT_NO_THROW_PROTO;
    111111
    112112/**
     
    134134 * @param   pszTag      Allocation tag used for statistics and such.
    135135 */
    136 RTDECL(void *) RTMemSaferAllocZTag(size_t cb, const char *pszTag) RT_NO_THROW;
     136RTDECL(void *) RTMemSaferAllocZTag(size_t cb, const char *pszTag) RT_NO_THROW_PROTO;
    137137
    138138/**
     
    168168 * @param   pszTag      Allocation tag used for statistics and such.
    169169 */
    170 RTDECL(int) RTMemSaferReallocZExTag(size_t cbOld, void *pvOld, size_t cbNew, void **ppvNew, uint32_t fFlags, const char *pszTag) RT_NO_THROW;
     170RTDECL(int) RTMemSaferReallocZExTag(size_t cbOld, void *pvOld, size_t cbNew, void **ppvNew, uint32_t fFlags, const char *pszTag) RT_NO_THROW_PROTO;
    171171
    172172/**
     
    207207 * @param   pszTag      Allocation tag used for statistics and such.
    208208 */
    209 RTDECL(void *) RTMemSaferReallocZTag(size_t cbOld, void *pvOld, size_t cbNew, const char *pszTag) RT_NO_THROW;
     209RTDECL(void *) RTMemSaferReallocZTag(size_t cbOld, void *pvOld, size_t cbNew, const char *pszTag) RT_NO_THROW_PROTO;
    210210
    211211/**
     
    236236 * @param   cb          The allocation size.
    237237 */
    238 RTDECL(void) RTMemSaferFree(void *pv, size_t cb) RT_NO_THROW;
     238RTDECL(void) RTMemSaferFree(void *pv, size_t cb) RT_NO_THROW_PROTO;
    239239
    240240/** @}  */
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