| 174 | |
| 175 | |
| 176 | ILint ILAPIENTRY iDefaultGetc(ILHANDLE Handle) |
| 177 | { |
| 178 | ILint Val; |
| 179 | |
| 180 | if (!UseCache) { |
| 181 | Val = fgetc((FILE*)Handle); |
| 182 | if (Val == IL_EOF) |
| 183 | ilSetError(IL_FILE_READ_ERROR); |
| 184 | } |
| 185 | else { |
| 186 | Val = 0; |
| 187 | if (iread(&Val, 1, 1) != 1) |
| 188 | return IL_EOF; |
| 189 | } |
| 190 | return Val; |
| 191 | } |
| 192 | |
| 193 | |
| 194 | ILint ILAPIENTRY iDefaultRead(void *Buffer, ILuint Size, ILuint Number, ILHANDLE Handle) |
nothing calls this directly
no test coverage detected