Changeset 38539 in vbox for trunk/src/VBox/Runtime/common/misc
- Timestamp:
- Aug 25, 2011 10:06:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/sg.cpp
r36312 r38539 111 111 112 112 113 RTDECL(void *) RTSgBufGetNextSegment(PRTSGBUF pSgBuf, size_t *pcbSeg) 114 { 115 AssertPtrReturn(pSgBuf, NULL); 116 AssertPtrReturn(pcbSeg, NULL); 117 118 if (!*pcbSeg) 119 *pcbSeg = pSgBuf->cbSegLeft; 120 121 return sgBufGet(pSgBuf, pcbSeg); 122 } 123 124 113 125 RTDECL(size_t) RTSgBufCopy(PRTSGBUF pSgBufDst, PRTSGBUF pSgBufSrc, size_t cbCopy) 114 126 {
Note:
See TracChangeset
for help on using the changeset viewer.