The function checks if the buffer is Modifiable and returns true if it is modifiable, else returns false. */
| 575 | |
| 576 | */ |
| 577 | bool |
| 578 | isWriteable(TSMBuffer bufp) |
| 579 | { |
| 580 | if (bufp != nullptr) { |
| 581 | return (reinterpret_cast<HdrHeapSDKHandle *>(bufp))->m_heap->m_writeable; |
| 582 | } |
| 583 | return false; |
| 584 | } |
| 585 | |
| 586 | //////////////////////////////////////////////////////////////////// |
| 587 | // |
no outgoing calls
no test coverage detected