Allocation/Deallocation Function ***/
| 86 | |
| 87 | /*** Allocation/Deallocation Function ***/ |
| 88 | void* ILAPIENTRY ialloc(const ILsizei Size) |
| 89 | { |
| 90 | void *Ptr = ialloc_ptr(Size); |
| 91 | if (Ptr == NULL) |
| 92 | ilSetError(IL_OUT_OF_MEMORY); |
| 93 | return Ptr; |
| 94 | } |
| 95 | |
| 96 | void ILAPIENTRY ifree(const void * CONST_RESTRICT Ptr) |
| 97 | { |
nothing calls this directly
no test coverage detected