MCPcopy Create free account
hub / github.com/LUX-Core/lux / release

Method release

src/streams.h:342–347  ·  view source on GitHub ↗

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*. */

Source from the content-addressed store, hash-verified

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

Callers 4

http_request_cbFunction · 0.45
InitHTTPServerFunction · 0.45
PrepareShutdownFunction · 0.45
CallRPCFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected