Reads a UTX file
| 19 | |
| 20 | //! Reads a UTX file |
| 21 | ILboolean ilLoadUtx(ILconst_string FileName) |
| 22 | { |
| 23 | ILHANDLE UtxFile; |
| 24 | ILboolean bUtx = IL_FALSE; |
| 25 | |
| 26 | UtxFile = iopenr(FileName); |
| 27 | if (UtxFile == NULL) { |
| 28 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 29 | return bUtx; |
| 30 | } |
| 31 | |
| 32 | bUtx = ilLoadUtxF(UtxFile); |
| 33 | icloser(UtxFile); |
| 34 | |
| 35 | return bUtx; |
| 36 | } |
| 37 | |
| 38 | |
| 39 | //! Reads an already-opened UTX file |
nothing calls this directly
no test coverage detected