Changeset 22273 in vbox for trunk/include/iprt
- Timestamp:
- Aug 14, 2009 11:00:51 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51115
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/heap.h
r20374 r22273 39 39 * Initializes the heap. 40 40 * 41 * @returns IPRT status code on success.41 * @returns IPRT status code. 42 42 * @param pHeap Where to store the heap anchor block on success. 43 43 * @param pvMemory Pointer to the heap memory. … … 49 49 * Merge two simple heaps into one. 50 50 * 51 * The requireme t is of course that they next two each other memory wise.51 * The requirement is of course that they next two each other memory wise. 52 52 * 53 * @returns IPRT status code on success.53 * @returns IPRT status code. 54 54 * @param pHeap Where to store the handle to the merged heap on success. 55 55 * @param Heap1 Handle to the first heap. … … 59 59 RTDECL(int) RTHeapSimpleMerge(PRTHEAPSIMPLE pHeap, RTHEAPSIMPLE Heap1, RTHEAPSIMPLE Heap2); 60 60 61 /** 62 * Relocater the heap internal structures after copying it to a new location. 63 * 64 * This can be used when loading a saved heap. 65 * 66 * @returns IPRT status code. 67 * @param hHeap Heap handle that has already been adjusted by to the new 68 * location. That is to say, when calling 69 * RTHeapSimpleInit, the caller must note the offset of the 70 * returned heap handle into the heap memory. This offset 71 * must be used when calcuating the handle value for the 72 * new location. The offset may in some cases not be zero! 73 * @param offDelta The delta between the new and old location, i.e. what 74 * should be added to the internal pointers. 75 */ 76 RTDECL(int) RTHeapSimpleRelocate(RTHEAPSIMPLE hHeap, uintptr_t offDelta); 77 61 78 /** 62 79 * Allocates memory from the specified simple heap.
Note:
See TracChangeset
for help on using the changeset viewer.