Gets the last error on the error stack
| 42 | |
| 43 | //! Gets the last error on the error stack |
| 44 | ILenum ILAPIENTRY ilGetError(void) |
| 45 | { |
| 46 | ILenum ilReturn; |
| 47 | |
| 48 | if (ilErrorPlace >= 0) { |
| 49 | ilReturn = ilErrorNum[ilErrorPlace]; |
| 50 | ilErrorPlace--; |
| 51 | } |
| 52 | else |
| 53 | ilReturn = IL_NO_ERROR; |
| 54 | |
| 55 | return ilReturn; |
| 56 | } |
nothing calls this directly
no outgoing calls
no test coverage detected