Restore a previously stored reading position held in the parameter.
| 123 | |
| 124 | // Restore a previously stored reading position held in the parameter. |
| 125 | void InputDevices::indev::setPos(const fpos_t* in) |
| 126 | { |
| 127 | fb_assert(in); |
| 128 | fb_assert(indev_fpointer); |
| 129 | #ifdef SFIO |
| 130 | // hack to fix bad sfio header |
| 131 | os_utils::fsetpos(indev_fpointer, const_cast<fpos_t*>(in)); |
| 132 | #else |
| 133 | os_utils::fsetpos(indev_fpointer, in); |
| 134 | #endif |
| 135 | } |
| 136 | |
| 137 | void InputDevices::indev::makeFullFileName() |
| 138 | { |
no test coverage detected