| 62 | |
| 63 | |
| 64 | ILconst_string ILAPIENTRY iluErrorString(ILenum Error) |
| 65 | { |
| 66 | // Now we are dealing with Unicode strings. |
| 67 | if (Error == IL_NO_ERROR) { |
| 68 | return iluMiscErrors[0]; |
| 69 | } |
| 70 | if (Error == IL_UNKNOWN_ERROR) { |
| 71 | return iluMiscErrors[1]; |
| 72 | } |
| 73 | if (Error >= IL_INVALID_ENUM && Error <= IL_FILE_READ_ERROR) { |
| 74 | return (ILstring)iluErrors[Error - IL_INVALID_ENUM]; |
| 75 | } |
| 76 | if (Error >= IL_LIB_GIF_ERROR && Error <= IL_LIB_EXR_ERROR) { |
| 77 | return (ILstring)iluLibErrors[Error - IL_LIB_GIF_ERROR]; |
| 78 | } |
| 79 | |
| 80 | return iluMiscErrors[0]; |
| 81 | } |
| 82 | |
| 83 | |
| 84 | ILboolean ILAPIENTRY iluSetLanguage(ILenum Language) |
nothing calls this directly
no outgoing calls
no test coverage detected