| 158 | |
| 159 | |
| 160 | ILboolean ILAPIENTRY iDefaultEof(ILHANDLE Handle) |
| 161 | { |
| 162 | ILuint OrigPos, FileSize; |
| 163 | |
| 164 | // Find out the filesize for checking for the end of file |
| 165 | OrigPos = itell(); |
| 166 | iseek(0, IL_SEEK_END); |
| 167 | FileSize = itell(); |
| 168 | iseek(OrigPos, IL_SEEK_SET); |
| 169 | |
| 170 | if (itell() >= FileSize) |
| 171 | return IL_TRUE; |
| 172 | return IL_FALSE; |
| 173 | } |
| 174 | |
| 175 | |
| 176 | ILint ILAPIENTRY iDefaultGetc(ILHANDLE Handle) |
nothing calls this directly
no outgoing calls
no test coverage detected