Changeset 78337 in vbox for trunk/include/iprt
- Timestamp:
- Apr 26, 2019 8:30:19 PM (6 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r78334 r78337 3810 3810 # define RTMemSaferAllocZTag RT_MANGLER(RTMemSaferAllocZTag) 3811 3811 # define RTMemSaferFree RT_MANGLER(RTMemSaferFree) 3812 # define RTMemSaferGetSize RT_MANGLER(RTMemSaferGetSize) 3812 3813 # define RTMemSaferReallocZExTag RT_MANGLER(RTMemSaferReallocZExTag) 3813 3814 # define RTMemSaferReallocZTag RT_MANGLER(RTMemSaferReallocZTag) -
trunk/include/iprt/memsafer.h
r76585 r78337 241 241 RTDECL(void) RTMemSaferFree(void *pv, size_t cb) RT_NO_THROW_PROTO; 242 242 243 /** 244 * Gets the amount of memory allocated at @a pv. 245 * 246 * This can be used to check if the allocation was made using an RTMemSafer API. 247 * 248 * @returns Allocation size in bytes, 0 if not a RTMemSafer allocation. 249 * @param pv The alleged RTMemSafer allocation. 250 * 251 * @note Not supported in all contexts and implementations of the API. 252 */ 253 RTDECL(size_t) RTMemSaferGetSize(void *pv) RT_NO_THROW_PROTO; 254 255 243 256 /** @} */ 244 257 RT_C_DECLS_END
Note:
See TracChangeset
for help on using the changeset viewer.