Reads a .cut file
| 35 | |
| 36 | //! Reads a .cut file |
| 37 | ILboolean ilLoadCut(ILconst_string FileName) |
| 38 | { |
| 39 | ILHANDLE CutFile; |
| 40 | ILboolean bCut = IL_FALSE; |
| 41 | |
| 42 | CutFile = iopenr(FileName); |
| 43 | if (CutFile == NULL) { |
| 44 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 45 | return bCut; |
| 46 | } |
| 47 | |
| 48 | bCut = ilLoadCutF(CutFile); |
| 49 | icloser(CutFile); |
| 50 | |
| 51 | return bCut; |
| 52 | } |
| 53 | |
| 54 | |
| 55 | //! Reads an already-opened .cut file |
no test coverage detected