| 222 | |
| 223 | |
| 224 | ILHANDLE ILAPIENTRY iDefaultOpenW(ILconst_string FileName) |
| 225 | { |
| 226 | #ifndef _UNICODE |
| 227 | return (ILHANDLE)fopen((char*)FileName, "wb"); |
| 228 | #else |
| 229 | // Windows has a different function, _wfopen, to open UTF16 files, |
| 230 | // whereas Linux just uses fopen. |
| 231 | #ifdef _WIN32 |
| 232 | return (ILHANDLE)_wfopen(FileName, L"wb"); |
| 233 | #else |
| 234 | return (ILHANDLE)fopen((char*)FileName, "wb"); |
| 235 | #endif |
| 236 | #endif//UNICODE |
| 237 | } |
| 238 | |
| 239 | |
| 240 | void ILAPIENTRY iDefaultCloseW(ILHANDLE Handle) |
nothing calls this directly
no outgoing calls
no test coverage detected