| 135 | // Next 7 functions are the default read functions |
| 136 | |
| 137 | ILHANDLE ILAPIENTRY iDefaultOpenR(ILconst_string FileName) |
| 138 | { |
| 139 | #ifndef _UNICODE |
| 140 | return (ILHANDLE)fopen((char*)FileName, "rb"); |
| 141 | #else |
| 142 | // Windows has a different function, _wfopen, to open UTF16 files, |
| 143 | // whereas Linux just uses fopen for its UTF8 files. |
| 144 | #ifdef _WIN32 |
| 145 | return (ILHANDLE)_wfopen(FileName, L"rb"); |
| 146 | #else |
| 147 | return (ILHANDLE)fopen((char*)FileName, "rb"); |
| 148 | #endif |
| 149 | #endif//UNICODE |
| 150 | } |
| 151 | |
| 152 | |
| 153 | void ILAPIENTRY iDefaultCloseR(ILHANDLE Handle) |
nothing calls this directly
no outgoing calls
no test coverage detected