Allows you to override the default file-writing functions.
| 289 | |
| 290 | //! Allows you to override the default file-writing functions. |
| 291 | void ILAPIENTRY ilSetWrite(fOpenRProc Open, fCloseRProc Close, fPutcProc Putc, fSeekWProc Seek, fTellWProc Tell, fWriteProc Write) |
| 292 | { |
| 293 | iopenw = Open; |
| 294 | iclosew = Close; |
| 295 | PutcProc = Putc; |
| 296 | WriteProc = Write; |
| 297 | SeekWProc = Seek; |
| 298 | TellWProc = Tell; |
| 299 | |
| 300 | return; |
| 301 | } |
| 302 | |
| 303 | |
| 304 | // Tells DevIL that we're reading from a file, not a lump |
nothing calls this directly
no outgoing calls
no test coverage detected