| 328 | } |
| 329 | |
| 330 | void fclose() |
| 331 | { |
| 332 | if (file) { |
| 333 | ::fclose(file); |
| 334 | file = NULL; |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | /** Get wrapped FILE* with transfer of ownership. |
| 339 | * @note This will invalidate the CAutoFile object, and makes it the responsibility of the caller |