Changeset 11019 in vbox for trunk/src/VBox/Runtime/common/alloc/alloc.cpp
- Timestamp:
- Jul 30, 2008 10:47:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/alloc/alloc.cpp
r8245 r11019 46 46 * @param cb The amount of memory to duplicate. 47 47 */ 48 RTDECL(void *) RTMemDup(const void *pvSrc, size_t cb) 48 RTDECL(void *) RTMemDup(const void *pvSrc, size_t cb) RT_NO_THROW 49 49 { 50 50 void *pvDst = RTMemAlloc(cb); … … 65 65 * @param cbExtra The amount of extra memory to allocate and zero. 66 66 */ 67 RTDECL(void *) RTMemDupEx(const void *pvSrc, size_t cbSrc, size_t cbExtra) 67 RTDECL(void *) RTMemDupEx(const void *pvSrc, size_t cbSrc, size_t cbExtra) RT_NO_THROW 68 68 { 69 69 void *pvDst = RTMemAlloc(cbSrc + cbExtra);
Note:
See TracChangeset
for help on using the changeset viewer.