| 81 | } |
| 82 | |
| 83 | void |
| 84 | cursor::string(std::string &out) |
| 85 | { |
| 86 | size_t size; |
| 87 | const char *p = this->cstr(&size); |
| 88 | out.resize(size); |
| 89 | memmove(&out.front(), p, size); |
| 90 | } |
| 91 | |
| 92 | const char * |
| 93 | cursor::cstr(size_t *size_out) |
no test coverage detected