| 111 | |
| 112 | template <typename T> |
| 113 | inline void CHECK_HANDLE(T* blk, ISC_STATUS error) |
| 114 | { |
| 115 | if (!blk || !blk->checkHandle()) |
| 116 | { |
| 117 | handle_error(error); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | inline void CHECK_LENGTH(rem_port* port, size_t length) |
| 122 | { |
no test coverage detected