Get wrapped FILE* with transfer of ownership. * @note This will invalidate the CAutoFile object, and makes it the responsibility of the caller * of this function to clean up the returned FILE*. */
| 340 | * of this function to clean up the returned FILE*. |
| 341 | */ |
| 342 | FILE* release() |
| 343 | { |
| 344 | FILE* ret = file; |
| 345 | file = NULL; |
| 346 | return ret; |
| 347 | } |
| 348 | |
| 349 | /** Get wrapped FILE* without transfer of ownership. |
| 350 | * @note Ownership of the FILE* will remain with this class. Use this only if the scope of the |
no outgoing calls
no test coverage detected