| 360 | } |
| 361 | |
| 362 | int CScriptFile::SetPos(int pos) |
| 363 | { |
| 364 | if( file == 0 ) |
| 365 | return -1; |
| 366 | |
| 367 | int r = fseek(file, pos, SEEK_SET); |
| 368 | |
| 369 | // Return -1 on error |
| 370 | return r ? -1 : 0; |
| 371 | } |
| 372 | |
| 373 | int CScriptFile::MovePos(int delta) |
| 374 | { |
no outgoing calls
no test coverage detected