Reads a .pic file
| 113 | |
| 114 | //! Reads a .pic file |
| 115 | ILboolean ilLoadPic(ILconst_string FileName) |
| 116 | { |
| 117 | ILHANDLE PicFile; |
| 118 | ILboolean bPic = IL_FALSE; |
| 119 | |
| 120 | PicFile = iopenr(FileName); |
| 121 | if (PicFile == NULL) { |
| 122 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 123 | return bPic; |
| 124 | } |
| 125 | |
| 126 | bPic = ilLoadPicF(PicFile); |
| 127 | icloser(PicFile); |
| 128 | |
| 129 | return bPic; |
| 130 | } |
| 131 | |
| 132 | |
| 133 | //! Reads an already-opened .pic file |
no test coverage detected