----------------------- SUB FRAME BY LIMITS ------------------------
| 36 | } |
| 37 | //----------------------- SUB FRAME BY LIMITS ------------------------ |
| 38 | MemoryFrame MemoryFrame::getSubFrameByLimits(int from, int to) |
| 39 | { |
| 40 | from = _limit(from, 0, this->frameSize); |
| 41 | to = _limit(to, from, this->frameSize); |
| 42 | return MemoryFrame( |
| 43 | (void*)((int)this->frameBase + from), |
| 44 | to - from); |
| 45 | } |
| 46 | //----------------------- GET FRAME UPTO ----------------------------- |
| 47 | MemoryFrame MemoryFrame::getFrameUpto(const MemoryFrame &upto) |
| 48 | { |
nothing calls this directly
no test coverage detected