Reads a .pcd file
| 21 | |
| 22 | //! Reads a .pcd file |
| 23 | ILboolean ilLoadPcd(ILconst_string FileName) |
| 24 | { |
| 25 | ILHANDLE PcdFile; |
| 26 | ILboolean bPcd = IL_FALSE; |
| 27 | |
| 28 | PcdFile = iopenr(FileName); |
| 29 | if (PcdFile == NULL) { |
| 30 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 31 | return bPcd; |
| 32 | } |
| 33 | |
| 34 | bPcd = ilLoadPcdF(PcdFile); |
| 35 | icloser(PcdFile); |
| 36 | |
| 37 | return bPcd; |
| 38 | } |
| 39 | |
| 40 | |
| 41 | //! Reads an already-opened .pcd file |
no test coverage detected