Writes Raw to an already-opened file
| 144 | |
| 145 | //! Writes Raw to an already-opened file |
| 146 | ILuint ilSaveRawF(ILHANDLE File) |
| 147 | { |
| 148 | ILuint Pos; |
| 149 | iSetOutputFile(File); |
| 150 | Pos = itellw(); |
| 151 | if (iSaveRawInternal() == IL_FALSE) |
| 152 | return 0; // Error occurred |
| 153 | return itellw() - Pos; // Return the number of bytes written. |
| 154 | } |
| 155 | |
| 156 | |
| 157 | //! Writes Raw to a memory "lump" |
no test coverage detected